Uses of Class
org.yaml.snakeyaml.nodes.Node
Packages that use Node
Package
Description
-
Uses of Node in org.yaml.snakeyaml
Methods in org.yaml.snakeyaml that return NodeModifier and TypeMethodDescriptionParse the first YAML document in a stream and produce the corresponding representation tree.Produce the corresponding representation tree for a given Object.Methods in org.yaml.snakeyaml that return types with arguments of type NodeModifier and TypeMethodDescriptionYaml.composeAll(Reader yaml) Parse all YAML documents in a stream and produce corresponding representation trees.Methods in org.yaml.snakeyaml with parameters of type NodeModifier and TypeMethodDescriptionTypeDescription.newInstance(String propertyName, Node node) TypeDescription.newInstance(Node node) This method should be overridden for TypeDescription implementations that are supposed to implement instantiation logic that is different from default one as implemented in YAML constructors.Serialize the representation tree into Events.voidSerialize (dump) a YAML node into a YAML stream.booleanTypeDescription.setupPropertyType(String key, Node valueNode) -
Uses of Node in org.yaml.snakeyaml.composer
Methods in org.yaml.snakeyaml.composer that return NodeModifier and TypeMethodDescriptionprotected NodeComposer.composeKeyNode(MappingNode node) To be able to override composeNode(node) which is a keyprotected NodeComposer.composeMappingNode(String anchor) protected NodeComposer.composeScalarNode(String anchor, List<CommentLine> blockComments) protected NodeComposer.composeSequenceNode(String anchor) protected NodeComposer.composeValueNode(MappingNode node) To be able to override composeNode(node) which is a valueComposer.getNode()Reads and composes the next document.Composer.getSingleNode()Reads a document from a source that contains only one document. -
Uses of Node in org.yaml.snakeyaml.constructor
Methods in org.yaml.snakeyaml.constructor with parameters of type NodeModifier and TypeMethodDescriptionConstruct a Java instance with all the properties injected when it is possible.Construct JavaBean.voidAbstractConstruct.construct2ndStep(Node node, Object data) Fail with a reminder to provide the seconds step for a recursive structurevoidConstruct.construct2ndStep(Node node, Object object) Apply the second step when constructing recursive structures.voidConstructor.ConstructMapping.construct2ndStep(Node node, Object object) voidConstructor.ConstructSequence.construct2ndStep(Node node, Object object) voidConstructor.ConstructYamlObject.construct2ndStep(Node node, Object object) voidSafeConstructor.ConstructYamlMap.construct2ndStep(Node node, Object object) voidSafeConstructor.ConstructYamlSeq.construct2ndStep(Node node, Object data) voidSafeConstructor.ConstructYamlSet.construct2ndStep(Node node, Object object) protected final ObjectBaseConstructor.constructDocument(Node node) Construct complete YAML document.protected ObjectBaseConstructor.constructObject(Node node) Construct object from the specified Node.protected ObjectBaseConstructor.constructObjectNoCheck(Node node) Construct object from the specified Node without the check if it was already created.protected ObjectBaseConstructor.finalizeConstruction(Node node, Object data) protected Class<?>Constructor.getClassForNode(Node node) protected ConstructBaseConstructor.getConstructor(Node node) Get the constructor to construct the Node.protected final ObjectBaseConstructor.newInstance(Class<?> ancestor, Node node) protected ObjectBaseConstructor.newInstance(Class<?> ancestor, Node node, boolean tryDefault) Tries to create a new object for the node.protected ObjectBaseConstructor.newInstance(Node node) -
Uses of Node in org.yaml.snakeyaml.extensions.compactnotation
Methods in org.yaml.snakeyaml.extensions.compactnotation with parameters of type NodeModifier and TypeMethodDescriptionvoidCompactConstructor.ConstructCompactObject.construct2ndStep(Node node, Object object) protected ConstructCompactConstructor.getConstructor(Node node) -
Uses of Node in org.yaml.snakeyaml.nodes
Subclasses of Node in org.yaml.snakeyaml.nodesModifier and TypeClassDescriptionclassThis class is only used during representation (dumping)classBase class for the two collection typesmappingandcollection.classRepresents a map.classRepresents a scalar node.classRepresents a sequence.Methods in org.yaml.snakeyaml.nodes that return NodeModifier and TypeMethodDescriptionNodeTuple.getKeyNode()Key node.AnchorNode.getRealNode()GetterNodeTuple.getValueNode()Value node.Methods in org.yaml.snakeyaml.nodes that return types with arguments of type NodeConstructors in org.yaml.snakeyaml.nodes with parameters of type NodeConstructor parameters in org.yaml.snakeyaml.nodes with type arguments of type NodeModifierConstructorDescriptionSequenceNode(Tag tag, boolean resolved, List<Node> value, Mark startMark, Mark endMark, Boolean style) Deprecated.SequenceNode(Tag tag, boolean resolved, List<Node> value, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle) SequenceNode(Tag tag, List<Node> value, Boolean style) Deprecated.SequenceNode(Tag tag, List<Node> value, DumperOptions.FlowStyle flowStyle) -
Uses of Node in org.yaml.snakeyaml.representer
Fields in org.yaml.snakeyaml.representer with type parameters of type NodeModifier and TypeFieldDescriptionBaseRepresenter.representedObjectsKeep references of already represented instancesMethods in org.yaml.snakeyaml.representer that return NodeModifier and TypeMethodDescriptionprotected final NodeBaseRepresenter.representData(Object data) Represent.representData(Object data) Create a NodeRepresenter.RepresentJavaBean.representData(Object data) protected NodeBaseRepresenter.representMapping(Tag tag, Map<?, ?> mapping, DumperOptions.FlowStyle flowStyle) protected NodeBaseRepresenter.representScalar(Tag tag, String value) protected NodeBaseRepresenter.representScalar(Tag tag, String value, DumperOptions.ScalarStyle style) protected NodeBaseRepresenter.representSequence(Tag tag, Iterable<?> sequence, DumperOptions.FlowStyle flowStyle) Methods in org.yaml.snakeyaml.representer with parameters of type NodeModifier and TypeMethodDescriptionprotected voidRepresenter.checkGlobalTag(Property property, Node node, Object object) Remove redundant global tag for a type safe (generic) collection if it is the same as defined by the JavaBean property -
Uses of Node in org.yaml.snakeyaml.serializer
Methods in org.yaml.snakeyaml.serializer with parameters of type NodeModifier and TypeMethodDescriptionAnchorGenerator.nextAnchor(Node node) Create a custom anchor to the provided NodeNumberAnchorGenerator.nextAnchor(Node node) void