Uses of Class
org.snakeyaml.engine.v2.nodes.Node
Packages that use Node
Package
Description
-
Uses of Node in org.snakeyaml.engine.v2.api
Methods in org.snakeyaml.engine.v2.api that return NodeMethods in org.snakeyaml.engine.v2.api with parameters of type NodeModifier and TypeMethodDescriptionConstruct a Java instance with all the properties injected when it is possible.default void
ConstructNode.constructRecursive
(Node node, Object object) Apply the second step when constructing recursive structures.void
Dump.dumpNode
(Node node, StreamDataWriter streamDataWriter) Dump the provided Node into a YAML stream. -
Uses of Node in org.snakeyaml.engine.v2.api.lowlevel
Methods in org.snakeyaml.engine.v2.api.lowlevel that return types with arguments of type NodeModifier and TypeMethodDescriptionCompose.composeAllFromInputStream
(InputStream yaml) Parse all YAML documents in a stream and produce corresponding representation trees.Compose.composeAllFromReader
(Reader yaml) Parse all YAML documents in a stream and produce corresponding representation trees.Compose.composeAllFromString
(String yaml) Parse all YAML documents in a stream and produce corresponding representation trees.Compose.composeInputStream
(InputStream yaml) Parse a YAML stream and produceNode
Compose.composeReader
(Reader yaml) Parse a YAML stream and produceNode
Compose.composeString
(String yaml) Parse a YAML stream and produceNode
Methods in org.snakeyaml.engine.v2.api.lowlevel with parameters of type NodeModifier and TypeMethodDescriptionSerialize.serializeOne
(Node node) Serialize aNode
and produce events.Method parameters in org.snakeyaml.engine.v2.api.lowlevel with type arguments of type Node -
Uses of Node in org.snakeyaml.engine.v2.composer
Fields in org.snakeyaml.engine.v2.composer with type parameters of type NodeMethods in org.snakeyaml.engine.v2.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
(Optional<Anchor> anchor) Create mapping Nodeprivate Node
Composer.composeNode
(Optional<Node> parent) protected Node
Composer.composeScalarNode
(Optional<Anchor> anchor, List<CommentLine> blockComments) Create ScalarNodeprotected Node
Composer.composeValueNode
(MappingNode node) To be able to override composeNode(node) which is a valueComposer.next()
Reads and composes the next document.Methods in org.snakeyaml.engine.v2.composer that return types with arguments of type NodeModifier and TypeMethodDescriptionComposer.getSingleNode()
Reads a document from a source that contains only one document.Methods in org.snakeyaml.engine.v2.composer with parameters of type NodeMethod parameters in org.snakeyaml.engine.v2.composer with type arguments of type Node -
Uses of Node in org.snakeyaml.engine.v2.constructor
Fields in org.snakeyaml.engine.v2.constructor with type parameters of type NodeModifier and TypeFieldDescriptionBaseConstructor.constructedObjects
BaseConstructor.recursiveObjects
Methods in org.snakeyaml.engine.v2.constructor with parameters of type NodeModifier and TypeMethodDescriptionprotected Object
Construct complete YAML document.private Object
StandardConstructor.constructKey
(Node keyNode, Optional<Mark> contextMark, Optional<Mark> problemMark) protected Object
BaseConstructor.constructObject
(Node node) Construct object from the specified Node.protected Object
BaseConstructor.constructObjectNoCheck
(Node node) Construct object from the specified Node.void
StandardConstructor.ConstructYamlMap.constructRecursive
(Node node, Object object) void
StandardConstructor.ConstructYamlSeq.constructRecursive
(Node node, Object data) void
StandardConstructor.ConstructYamlSet.constructRecursive
(Node node, Object object) protected String
ConstructScalar.constructScalar
(Node node) Create String from the provided scalar nodeprotected Optional
<ConstructNode> BaseConstructor.findConstructorFor
(Node node) Method parameters in org.snakeyaml.engine.v2.constructor with type arguments of type NodeModifier and TypeMethodDescriptionBaseConstructor.constructSingleDocument
(Optional<Node> optionalNode) Ensure that the stream contains a single document and construct it -
Uses of Node in org.snakeyaml.engine.v2.constructor.core
Methods in org.snakeyaml.engine.v2.constructor.core with parameters of type Node -
Uses of Node in org.snakeyaml.engine.v2.constructor.json
Methods in org.snakeyaml.engine.v2.constructor.json with parameters of type NodeModifier and TypeMethodDescription -
Uses of Node in org.snakeyaml.engine.v2.nodes
Subclasses of Node in org.snakeyaml.engine.v2.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.Fields in org.snakeyaml.engine.v2.nodes declared as NodeModifier and TypeFieldDescriptionprivate final Node
NodeTuple.keyNode
private final Node
AnchorNode.realNode
private final Node
NodeTuple.valueNode
Fields in org.snakeyaml.engine.v2.nodes with type parameters of type NodeMethods in org.snakeyaml.engine.v2.nodes that return NodeModifier and TypeMethodDescriptionNodeTuple.getKeyNode()
Key node.AnchorNode.getRealNode()
getterNodeTuple.getValueNode()
Value node.Methods in org.snakeyaml.engine.v2.nodes that return types with arguments of type NodeConstructors in org.snakeyaml.engine.v2.nodes with parameters of type NodeConstructor parameters in org.snakeyaml.engine.v2.nodes with type arguments of type Node -
Uses of Node in org.snakeyaml.engine.v2.representer
Fields in org.snakeyaml.engine.v2.representer with type parameters of type NodeModifier and TypeFieldDescriptionBaseRepresenter.representedObjects
Keep references of already represented instances.Methods in org.snakeyaml.engine.v2.representer that return NodeModifier and TypeMethodDescriptionRepresent the provided Java instance to a Nodeprotected final Node
BaseRepresenter.representData
(Object data) Find the representer and use it to create the Node from instanceStandardRepresenter.RepresentArray.representData
(Object data) StandardRepresenter.RepresentBoolean.representData
(Object data) StandardRepresenter.RepresentByteArray.representData
(Object data) StandardRepresenter.RepresentEnum.representData
(Object data) StandardRepresenter.RepresentIterator.representData
(Object data) StandardRepresenter.RepresentList.representData
(Object data) StandardRepresenter.RepresentMap.representData
(Object data) StandardRepresenter.RepresentNull.representData
(Object data) StandardRepresenter.RepresentNumber.representData
(Object data) StandardRepresenter.RepresentOptional.representData
(Object data) StandardRepresenter.RepresentPrimitiveArray.representData
(Object data) StandardRepresenter.RepresentSet.representData
(Object data) StandardRepresenter.RepresentString.representData
(Object data) StandardRepresenter.RepresentUuid.representData
(Object data) protected Node
BaseRepresenter.representMapping
(Tag tag, Map<?, ?> mapping, FlowStyle flowStyle) Create Node for the provided Mapprotected Node
BaseRepresenter.representScalar
(Tag tag, String value) Create Node for string using PLAIN scalar style if possibleprotected Node
BaseRepresenter.representScalar
(Tag tag, String value, ScalarStyle style) Create Scalar Node from stringprotected Node
BaseRepresenter.representSequence
(Tag tag, Iterable<?> sequence, FlowStyle flowStyle) Create Node -
Uses of Node in org.snakeyaml.engine.v2.serializer
Fields in org.snakeyaml.engine.v2.serializer with type parameters of type NodeMethods in org.snakeyaml.engine.v2.serializer with parameters of type NodeModifier and TypeMethodDescriptionprivate void
Serializer.anchorNode
(Node node) AnchorGenerator.nextAnchor
(Node node) Create anchorNumberAnchorGenerator.nextAnchor
(Node node) Create value increasing the numbervoid
Serializer.serializeDocument
(Node node) Serialize documentprivate void
Serializer.serializeNode
(Node node) Recursive serialization of aNode