Uses of Class
com.ultikits.ultitools.config.document.DocumentStyle
Packages that use DocumentStyle
Package
Description
The config storage layer: a config file as a document over SnakeYAML's node tree, the plain-data
boundary every value crosses before it reaches a file, the configuration write gate
(
OperatorFileWriter) every write to an operator-editable configuration file goes through, and the
atomic writer that publishes what the gate verified.-
Uses of DocumentStyle in com.ultikits.ultitools.config.document
Fields in com.ultikits.ultitools.config.document declared as DocumentStyleMethods in com.ultikits.ultitools.config.document that return DocumentStyleModifier and TypeMethodDescriptionstatic DocumentStyleDocumentStyle.defaults()The style of a new file: what Bukkit writes, without a line width limit.(package private) static DocumentStyleReads the style of a parsed file.Methods in com.ultikits.ultitools.config.document with parameters of type DocumentStyleModifier and TypeMethodDescriptionprivate static org.yaml.snakeyaml.DumperOptionsConfigDocument.dumperOptions(DocumentStyle style) private static StringConfigDocument.emit(org.yaml.snakeyaml.nodes.Node out, DocumentStyle style) The emitter's text forout, comments realigned and whitespace-only lines emptied.private static List<org.yaml.snakeyaml.events.Event> ConfigDocument.serialize(org.yaml.snakeyaml.nodes.Node out, Writer writer, DocumentStyle style) Serializesoutexactly asYaml#serialize(Node, Writer)does (the sameSerializer,Emitter, options and resolver), recording every event the emitter receives, so the comment lines it writes can be located afterwards by position (17-64 route change (i)).Constructors in com.ultikits.ultitools.config.document with parameters of type DocumentStyleModifierConstructorDescriptionprivateConfigDocument(String source, org.yaml.snakeyaml.nodes.MappingNode root, Map<String, Object> plain, DocumentStyle style, boolean anchored)