Uses of Class
org.snakeyaml.engine.v2.nodes.Node
-
-
Uses of Node in org.snakeyaml.engine.v2.api
Methods in org.snakeyaml.engine.v2.api that return Node Modifier and Type Method Description Node
RepresentToNode. representData(java.lang.Object data)
Create a NodeMethods in org.snakeyaml.engine.v2.api with parameters of type Node Modifier and Type Method Description java.lang.Object
ConstructNode. construct(Node node)
Construct a Java instance with all the properties injected when it is possible.default void
ConstructNode. constructRecursive(Node node, java.lang.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 Node Modifier and Type Method Description java.lang.Iterable<Node>
Compose. composeAllFromInputStream(java.io.InputStream yaml)
Parse all YAML documents in a stream and produce corresponding representation trees.java.lang.Iterable<Node>
Compose. composeAllFromReader(java.io.Reader yaml)
Parse all YAML documents in a stream and produce corresponding representation trees.java.lang.Iterable<Node>
Compose. composeAllFromString(java.lang.String yaml)
Parse all YAML documents in a stream and produce corresponding representation trees.java.util.Optional<Node>
Compose. composeInputStream(java.io.InputStream yaml)
Parse a YAML stream and produceNode
java.util.Optional<Node>
Compose. composeReader(java.io.Reader yaml)
Parse a YAML stream and produceNode
java.util.Optional<Node>
Compose. composeString(java.lang.String yaml)
Parse a YAML stream and produceNode
Methods in org.snakeyaml.engine.v2.api.lowlevel with parameters of type Node Modifier and Type Method Description java.util.List<Event>
Serialize. serializeOne(Node node)
Serialize aNode
and produce events.Method parameters in org.snakeyaml.engine.v2.api.lowlevel with type arguments of type Node Modifier and Type Method Description java.util.List<Event>
Serialize. serializeAll(java.util.List<Node> nodes)
SerializeNode
s and produce events. -
Uses of Node in org.snakeyaml.engine.v2.composer
Fields in org.snakeyaml.engine.v2.composer with type parameters of type Node Modifier and Type Field Description private java.util.Map<Anchor,Node>
Composer. anchors
private java.util.Set<Node>
Composer. recursiveNodes
Methods in org.snakeyaml.engine.v2.composer that return Node Modifier and Type Method Description protected Node
Composer. composeKeyNode(MappingNode node)
To be able to override composeNode(node) which is a keyprotected Node
Composer. composeMappingNode(java.util.Optional<Anchor> anchor)
Create mapping Nodeprivate Node
Composer. composeNode(java.util.Optional<Node> parent)
protected Node
Composer. composeScalarNode(java.util.Optional<Anchor> anchor, java.util.List<CommentLine> blockComments)
Create ScalarNodeprotected Node
Composer. composeValueNode(MappingNode node)
To be able to override composeNode(node) which is a valueNode
Composer. next()
Reads and composes the next document.Methods in org.snakeyaml.engine.v2.composer that return types with arguments of type Node Modifier and Type Method Description java.util.Optional<Node>
Composer. getSingleNode()
Reads a document from a source that contains only one document.Methods in org.snakeyaml.engine.v2.composer with parameters of type Node Modifier and Type Method Description private void
Composer. registerAnchor(Anchor anchor, Node node)
Method parameters in org.snakeyaml.engine.v2.composer with type arguments of type Node Modifier and Type Method Description private Node
Composer. composeNode(java.util.Optional<Node> parent)
-
Uses of Node in org.snakeyaml.engine.v2.constructor
Fields in org.snakeyaml.engine.v2.constructor with type parameters of type Node Modifier and Type Field Description (package private) java.util.Map<Node,java.lang.Object>
BaseConstructor. constructedObjects
private java.util.Set<Node>
BaseConstructor. recursiveObjects
Methods in org.snakeyaml.engine.v2.constructor with parameters of type Node Modifier and Type Method Description protected java.lang.Object
BaseConstructor. construct(Node node)
Construct complete YAML document.java.lang.Object
ConstructYamlNull. construct(Node node)
java.lang.Object
StandardConstructor.ConstructEnv. construct(Node node)
java.lang.Object
StandardConstructor.ConstructYamlMap. construct(Node node)
java.lang.Object
StandardConstructor.ConstructYamlSeq. construct(Node node)
java.lang.Object
StandardConstructor.ConstructYamlSet. construct(Node node)
java.lang.Object
StandardConstructor.ConstructYamlStr. construct(Node node)
private java.lang.Object
StandardConstructor. constructKey(Node keyNode, java.util.Optional<Mark> contextMark, java.util.Optional<Mark> problemMark)
protected java.lang.Object
BaseConstructor. constructObject(Node node)
Construct object from the specified Node.protected java.lang.Object
BaseConstructor. constructObjectNoCheck(Node node)
Construct object from the specified Node.void
StandardConstructor.ConstructYamlMap. constructRecursive(Node node, java.lang.Object object)
void
StandardConstructor.ConstructYamlSeq. constructRecursive(Node node, java.lang.Object data)
void
StandardConstructor.ConstructYamlSet. constructRecursive(Node node, java.lang.Object object)
protected java.lang.String
ConstructScalar. constructScalar(Node node)
Create String from the provided scalar nodeprotected java.util.Optional<ConstructNode>
BaseConstructor. findConstructorFor(Node node)
Method parameters in org.snakeyaml.engine.v2.constructor with type arguments of type Node Modifier and Type Method Description java.lang.Object
BaseConstructor. constructSingleDocument(java.util.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 Modifier and Type Method Description java.lang.Object
ConstructYamlCoreBool. construct(Node node)
java.lang.Object
ConstructYamlCoreInt. construct(Node node)
protected java.lang.String
ConstructYamlCoreFloat. constructScalar(Node node)
-
Uses of Node in org.snakeyaml.engine.v2.constructor.json
Methods in org.snakeyaml.engine.v2.constructor.json with parameters of type Node Modifier and Type Method Description java.lang.Object
ConstructOptionalClass. construct(Node node)
java.lang.Object
ConstructUuidClass. construct(Node node)
java.lang.Object
ConstructYamlBinary. construct(Node node)
java.lang.Object
ConstructYamlJsonBool. construct(Node node)
java.lang.Object
ConstructYamlJsonFloat. construct(Node node)
java.lang.Object
ConstructYamlJsonInt. construct(Node node)
-
Uses of Node in org.snakeyaml.engine.v2.nodes
Subclasses of Node in org.snakeyaml.engine.v2.nodes Modifier and Type Class Description class
AnchorNode
This class is only used during representation (dumping)class
CollectionNode<T>
Base class for the two collection typesmapping
andcollection
.class
MappingNode
Represents a map.class
ScalarNode
Represents a scalar node.class
SequenceNode
Represents a sequence.Fields in org.snakeyaml.engine.v2.nodes declared as Node Modifier and Type Field Description private Node
NodeTuple. keyNode
private Node
AnchorNode. realNode
private Node
NodeTuple. valueNode
Fields in org.snakeyaml.engine.v2.nodes with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>
SequenceNode. value
Methods in org.snakeyaml.engine.v2.nodes that return Node Modifier and Type Method Description Node
NodeTuple. getKeyNode()
Key node.Node
AnchorNode. getRealNode()
getterNode
NodeTuple. getValueNode()
Value node.Methods in org.snakeyaml.engine.v2.nodes that return types with arguments of type Node Modifier and Type Method Description java.util.List<Node>
SequenceNode. getValue()
Returns the elements in this sequence.Constructors in org.snakeyaml.engine.v2.nodes with parameters of type Node Constructor Description AnchorNode(Node realNode)
CreateNodeTuple(Node keyNode, Node valueNode)
Constructor parameters in org.snakeyaml.engine.v2.nodes with type arguments of type Node Constructor Description SequenceNode(Tag tag, boolean resolved, java.util.List<Node> value, FlowStyle flowStyle, java.util.Optional<Mark> startMark, java.util.Optional<Mark> endMark)
SequenceNode(Tag tag, java.util.List<Node> value, FlowStyle flowStyle)
-
Uses of Node in org.snakeyaml.engine.v2.representer
Fields in org.snakeyaml.engine.v2.representer with type parameters of type Node Modifier and Type Field Description protected java.util.Map<java.lang.Object,Node>
BaseRepresenter. representedObjects
Keep references of already represented instances.Methods in org.snakeyaml.engine.v2.representer that return Node Modifier and Type Method Description Node
BaseRepresenter. represent(java.lang.Object data)
Represent the provided Java instance to a Nodeprotected Node
BaseRepresenter. representData(java.lang.Object data)
Find the representer and use it to create the Node from instanceNode
StandardRepresenter.RepresentArray. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentBoolean. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentByteArray. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentEnum. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentIterator. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentList. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentMap. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentNull. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentNumber. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentOptional. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentPrimitiveArray. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentSet. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentString. representData(java.lang.Object data)
Node
StandardRepresenter.RepresentUuid. representData(java.lang.Object data)
protected Node
BaseRepresenter. representMapping(Tag tag, java.util.Map<?,?> mapping, FlowStyle flowStyle)
Create Node for the provided Mapprotected Node
BaseRepresenter. representScalar(Tag tag, java.lang.String value)
Create Node for string using PLAIN scalar style if possibleprotected Node
BaseRepresenter. representScalar(Tag tag, java.lang.String value, ScalarStyle style)
Create Scalar Node from stringprotected Node
BaseRepresenter. representSequence(Tag tag, java.lang.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 Node Modifier and Type Field Description private java.util.Map<Node,Anchor>
Serializer. anchors
private java.util.Set<Node>
Serializer. serializedNodes
Methods in org.snakeyaml.engine.v2.serializer with parameters of type Node Modifier and Type Method Description private void
Serializer. anchorNode(Node node)
Anchor
AnchorGenerator. nextAnchor(Node node)
Create anchorAnchor
NumberAnchorGenerator. nextAnchor(Node node)
Create value increasing the numbervoid
Serializer. serializeDocument(Node node)
Serialize documentprivate void
Serializer. serializeNode(Node node)
Recursive serialization of aNode
-