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.void
Serialize (dump) a YAML node into a YAML stream.boolean
TypeDescription.setupPropertyType
(String key, Node valueNode) -
Uses of Node in org.yaml.snakeyaml.composer
Methods in org.yaml.snakeyaml.composer that return NodeModifier and TypeMethodDescriptionprotected Node
Composer.composeKeyNode
(MappingNode node) To be able to override composeNode(node) which is a keyprotected Node
Composer.composeMappingNode
(String anchor) protected Node
Composer.composeScalarNode
(String anchor, List<CommentLine> blockComments) protected Node
Composer.composeSequenceNode
(String anchor) protected Node
Composer.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.void
AbstractConstruct.construct2ndStep
(Node node, Object data) Fail with a reminder to provide the seconds step for a recursive structurevoid
Construct.construct2ndStep
(Node node, Object object) Apply the second step when constructing recursive structures.void
Constructor.ConstructMapping.construct2ndStep
(Node node, Object object) void
Constructor.ConstructSequence.construct2ndStep
(Node node, Object object) void
Constructor.ConstructYamlObject.construct2ndStep
(Node node, Object object) void
SafeConstructor.ConstructYamlMap.construct2ndStep
(Node node, Object object) void
SafeConstructor.ConstructYamlSeq.construct2ndStep
(Node node, Object data) void
SafeConstructor.ConstructYamlSet.construct2ndStep
(Node node, Object object) protected final Object
BaseConstructor.constructDocument
(Node node) Construct complete YAML document.protected Object
BaseConstructor.constructObject
(Node node) Construct object from the specified Node.protected Object
BaseConstructor.constructObjectNoCheck
(Node node) Construct object from the specified Node without the check if it was already created.protected Object
BaseConstructor.finalizeConstruction
(Node node, Object data) protected Class
<?> Constructor.getClassForNode
(Node node) protected Construct
BaseConstructor.getConstructor
(Node node) Get the constructor to construct the Node.protected final Object
BaseConstructor.newInstance
(Class<?> ancestor, Node node) protected Object
BaseConstructor.newInstance
(Class<?> ancestor, Node node, boolean tryDefault) Tries to create a new object for the node.protected Object
BaseConstructor.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 TypeMethodDescriptionvoid
CompactConstructor.ConstructCompactObject.construct2ndStep
(Node node, Object object) protected Construct
CompactConstructor.getConstructor
(Node node) -
Uses of Node in org.yaml.snakeyaml.nodes
Subclasses of Node in org.yaml.snakeyaml.nodesModifier and TypeClassDescriptionclass
This class is only used during representation (dumping)class
Base class for the two collection typesmapping
andcollection
.class
Represents a map.class
Represents a scalar node.class
Represents 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, DumperOptions.FlowStyle flowStyle) 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.representedObjects
Keep references of already represented instancesMethods in org.yaml.snakeyaml.representer that return NodeModifier and TypeMethodDescriptionprotected final Node
BaseRepresenter.representData
(Object data) Represent.representData
(Object data) Create a NodeRepresenter.RepresentJavaBean.representData
(Object data) protected Node
BaseRepresenter.representMapping
(Tag tag, Map<?, ?> mapping, DumperOptions.FlowStyle flowStyle) protected Node
BaseRepresenter.representScalar
(Tag tag, String value) protected Node
BaseRepresenter.representScalar
(Tag tag, String value, DumperOptions.ScalarStyle style) protected Node
BaseRepresenter.representSequence
(Tag tag, Iterable<?> sequence, DumperOptions.FlowStyle flowStyle) Methods in org.yaml.snakeyaml.representer with parameters of type NodeModifier and TypeMethodDescriptionprotected void
Representer.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