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
Subclasses of KeyTree.Node in org.simpleyaml.configuration.commentsFields in org.simpleyaml.configuration.comments declared as KeyTree.NodeModifier and TypeFieldDescriptionprotected KeyTree.NodeYamlCommentDumper.commentNodeprotected KeyTree.NodeYamlCommentDumper.commentNodeFallbackprotected KeyTree.NodeYamlCommentReader.currentListprotected KeyTree.NodeYamlCommentReader.currentNodeprotected KeyTree.NodeYamlCommentDumper.firstListMapElementprotected 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 static final Predicate<KeyTree.Node>YamlCommentMapper.NO_COMMENTSprotected 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.Nodeprotected KeyTree.NodeKeyTree.createNode(KeyTree.Node parent, int indent, String key) protected KeyTree.NodeYamlKeyTree.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()YamlCommentReader.ReadingExplicitStyle.getNode()Get a child from its path.protected KeyTree.NodeYamlCommentMapper.getOrAddNode(String 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.protected KeyTree.NodeYamlCommentMapper.getPriorityNode(String path) KeyTree.getRoot()Get the root node.protected KeyTree.NodeYamlCommentParser.track()YamlCommentReader.ReadingExplicitStyle.track()protected KeyTree.NodeYamlCommentReader.track()protected KeyTree.Nodeprotected KeyTree.NodeYamlCommentReader.trackExplicit()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 voidYamlCommentDumper.checkFirstListMapElement(KeyTree.Node commentNode, KeyTree.Node readerNode) protected voidYamlCommentMapper.clearNode(KeyTree.Node node) protected voidYamlCommentMapper.clearNodeIfNoComments(KeyTree.Node node) protected KeyTree.NodeKeyTree.createNode(KeyTree.Node parent, int indent, String key) protected KeyTree.NodeYamlKeyTree.createNode(KeyTree.Node parent, int indent, String key) protected KeyTree.NodeKeyTree.findParent(KeyTree.Node parent, int indent) protected final StringYamlCommentMapper.getComment(KeyTree.Node node, CommentType type) voidYamlCommentDumper.getCommentNode(KeyTree.Node readerNode) protected final StringYamlCommentMapper.getRawComment(KeyTree.Node node, CommentType type) protected final voidYamlCommentMapper.removeComment(KeyTree.Node node, CommentType type) protected final voidYamlCommentMapper.setFormattedComment(KeyTree.Node node, String comment, CommentType type) protected voidKeyTree.Node.setPriority(String key, KeyTree.Node child) protected final voidYamlCommentMapper.setRawComment(KeyTree.Node node, String comment, CommentType type) protected voidYamlCommentParser.setSideComment(KeyTree.Node node, String sideComment) protected StringYamlCommentParser.trackBlockComment(KeyTree.Node node) protected voidYamlCommentParser.trackBlockCommentExplicit(KeyTree.Node node) protected voidYamlCommentParser.trackSideComment(KeyTree.Node node) 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 TypeMethodDescriptionBlankLineYamlCommentFormatter.dump(String comment, CommentType type, KeyTree.Node node) CommentFormatter.dump(String comment, CommentType type, KeyTree.Node node) Given a comment returns the raw-formatted string to be dumped somewhere like a file.PrettyYamlCommentFormatter.dump(String comment, CommentType type, KeyTree.Node node) YamlCommentFormatter.dump(String comment, CommentType type, KeyTree.Node node) YamlHeaderFormatter.dump(String header, CommentType type, KeyTree.Node node) Given the header (for instance the one returned byYamlHeaderFormatter.parse(java.lang.String, org.simpleyaml.configuration.comments.CommentType, org.simpleyaml.configuration.comments.KeyTree.Node)), returns the final string formatted 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.YamlCommentFormatter.parse(Reader raw, CommentType type, KeyTree.Node node) YamlHeaderFormatter.parse(Reader raw, CommentType type, KeyTree.Node node) YamlHeaderFormatter.parse(String raw, CommentType type, KeyTree.Node node) Parse the header of a contents string, like a file contents. -
Uses of KeyTree.Node in org.simpleyaml.configuration.file
Methods in org.simpleyaml.configuration.file with parameters of type KeyTree.NodeModifier and TypeMethodDescriptionprotected voidYamlFile.setListNode(Collection<?> value, KeyTree.Node node) -
Uses of KeyTree.Node in org.simpleyaml.configuration.implementation.snakeyaml
Fields in org.simpleyaml.configuration.implementation.snakeyaml declared as KeyTree.NodeMethods in org.simpleyaml.configuration.implementation.snakeyaml that return KeyTree.NodeModifier and TypeMethodDescriptionprotected KeyTree.NodeSnakeYamlCommentMapper.getPriorityNode(String path) protected KeyTree.NodeSnakeYamlCommentMapper.track(KeyTree.Node parent, int indent, String key) protected KeyTree.NodeSnakeYamlCommentMapper.track(KeyTree.Node parent, String name, org.yaml.snakeyaml.nodes.Node key, org.yaml.snakeyaml.nodes.Node value) protected KeyTree.NodeSnakeYamlCommentMapper.trackElement(KeyTree.Node parent, String name, org.yaml.snakeyaml.nodes.Node key, int elementIndex) Methods in org.simpleyaml.configuration.implementation.snakeyaml with parameters of type KeyTree.NodeModifier and TypeMethodDescriptionprotected org.yaml.snakeyaml.nodes.MappingNodeSnakeYamlImplementation.sectionToMapping(ConfigurationSection section, KeyTree.Node node, SnakeYamlCommentMapper yamlCommentMapper) protected voidSnakeYamlCommentMapper.setComments(KeyTree.Node node, org.yaml.snakeyaml.nodes.Node key, org.yaml.snakeyaml.nodes.Node value) protected voidSnakeYamlImplementation.setCommentsMapping(org.yaml.snakeyaml.nodes.MappingNode mapping, KeyTree.Node node, SnakeYamlCommentMapper yamlCommentMapper) protected voidSnakeYamlImplementation.setCommentsSequence(org.yaml.snakeyaml.nodes.SequenceNode sequence, KeyTree.Node node, SnakeYamlCommentMapper yamlCommentMapper) protected KeyTree.NodeSnakeYamlCommentMapper.track(KeyTree.Node parent, int indent, String key) protected KeyTree.NodeSnakeYamlCommentMapper.track(KeyTree.Node parent, String name, org.yaml.snakeyaml.nodes.Node key, org.yaml.snakeyaml.nodes.Node value) protected voidSnakeYamlCommentMapper.trackBlockComment(KeyTree.Node node, List<org.yaml.snakeyaml.comments.CommentLine> comments) protected KeyTree.NodeSnakeYamlCommentMapper.trackElement(KeyTree.Node parent, String name, org.yaml.snakeyaml.nodes.Node key, int elementIndex) protected voidSnakeYamlImplementation.trackMapping(org.yaml.snakeyaml.nodes.MappingNode node, ConfigurationSection section, KeyTree.Node parent, SnakeYamlCommentMapper yamlCommentMapper) protected voidSnakeYamlImplementation.trackSequence(org.yaml.snakeyaml.nodes.SequenceNode node, KeyTree.Node parent, SnakeYamlCommentMapper yamlCommentMapper) protected voidSnakeYamlCommentMapper.trackSideComment(KeyTree.Node node, List<org.yaml.snakeyaml.comments.CommentLine> comments)