Uses of Class
org.simpleyaml.configuration.comments.KeyTree.Node
Packages that use KeyTree.Node
Package
Description
-
Uses of KeyTree.Node in org.simpleyaml.configuration.comments
Fields in org.simpleyaml.configuration.comments declared as KeyTree.NodeModifier and TypeFieldDescriptionprotected final KeyTree.NodeKeyTree.Node.parentprotected final KeyTree.NodeKeyTree.rootFields in org.simpleyaml.configuration.comments with type parameters of type KeyTree.NodeModifier and TypeFieldDescriptionprotected List<KeyTree.Node>KeyTree.Node.childrenprotected Map<Integer,KeyTree.Node> KeyTree.Node.indexByElementIndexprotected Map<String,KeyTree.Node> KeyTree.Node.indexByNameprotected Map<String,KeyTree.Node> KeyTree.Node.priorityIndexMethods in org.simpleyaml.configuration.comments that return KeyTree.NodeModifier and TypeMethodDescriptionGet a child from its path.protected KeyTree.Nodeprotected KeyTree.Nodeprotected KeyTree.NodeKeyTree.createNode(KeyTree.Node parent, int indent, String key) KeyTree.findParent(int indent) Get the last node that can be a parent of a child with the indent provided.protected KeyTree.NodeKeyTree.findParent(KeyTree.Node parent, int indent) Get a child from its path.KeyTree.Node.get(int i) Get a child from its index.Get a child from its path.protected KeyTree.NodeGet a child from its path, or optionally add a new one if it is not created.KeyTree.Node.getElement(int i) Get a child list element from its index.protected KeyTree.NodeKeyTree.Node.getElement(int i, boolean add) Get a child list element from its index, or optionally add a new one if it is not created.KeyTree.Node.getFirst()KeyTree.Node.getLast()Get a child from its path.KeyTree.Node.getParent()KeyTree.getPriority(String path) Get a child from its path.KeyTree.Node.getPriority(String path) Get a child from its path.KeyTree.getRoot()Get the root node.Methods in org.simpleyaml.configuration.comments that return types with arguments of type KeyTree.NodeModifier and TypeMethodDescriptionKeyTree.children()KeyTree.Node.children()KeyTree.entries()KeyTree.Node.entries()KeyTree.iterator()KeyTree.Node.iterator()Methods in org.simpleyaml.configuration.comments with parameters of type KeyTree.NodeModifier and TypeMethodDescriptionprotected KeyTree.NodeKeyTree.createNode(KeyTree.Node parent, int indent, String key) protected KeyTree.NodeKeyTree.findParent(KeyTree.Node parent, int indent) protected voidKeyTree.Node.setPriority(String key, KeyTree.Node child) Method parameters in org.simpleyaml.configuration.comments with type arguments of type KeyTree.NodeModifier and TypeMethodDescriptionbooleanKeyTree.Node.clearIf(Predicate<KeyTree.Node> condition) protected booleanKeyTree.Node.clearIf(Predicate<KeyTree.Node> condition, boolean removeFromParent) -
Uses of KeyTree.Node in org.simpleyaml.configuration.comments.format
Methods in org.simpleyaml.configuration.comments.format with parameters of type KeyTree.NodeModifier and TypeMethodDescriptionCommentFormatter.dump(String comment, CommentType type, KeyTree.Node node) Given a comment returns the raw-formatted string to be dumped somewhere like a file.CommentFormatter.parse(Reader raw, CommentType type, KeyTree.Node node) Parse the comment from a reader that may contain a raw-formatted comment (for instance from a configuration file) to a human-friendly contentful representation of that comment.default StringCommentFormatter.parse(String raw, CommentType type, KeyTree.Node node) Parse the comment from a string that may contain a raw-formatted comment (for instance from a configuration file) to a human-friendly contentful representation of that comment.