Uses of Class
org.yaml.snakeyaml.nodes.Node
-
-
Uses of Node in org.yaml.snakeyaml
Fields in org.yaml.snakeyaml with type parameters of type Node Modifier and Type Field Description private java.util.Iterator<Node>
Yaml.NodeIterable. iterator
Methods in org.yaml.snakeyaml that return Node Modifier and Type Method Description Node
Yaml. compose(java.io.Reader yaml)
Parse the first YAML document in a stream and produce the corresponding representation tree.Node
Yaml. represent(java.lang.Object data)
Produce the corresponding representation tree for a given Object.Methods in org.yaml.snakeyaml that return types with arguments of type Node Modifier and Type Method Description java.lang.Iterable<Node>
Yaml. composeAll(java.io.Reader yaml)
Parse all YAML documents in a stream and produce corresponding representation trees.java.util.Iterator<Node>
Yaml.NodeIterable. iterator()
Methods in org.yaml.snakeyaml with parameters of type Node Modifier and Type Method Description java.lang.Object
TypeDescription. newInstance(java.lang.String propertyName, Node node)
java.lang.Object
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.java.util.List<Event>
Yaml. serialize(Node data)
Serialize the representation tree into Events.void
Yaml. serialize(Node node, java.io.Writer output)
Serialize a YAML node into a YAML stream.boolean
TypeDescription. setupPropertyType(java.lang.String key, Node valueNode)
Constructor parameters in org.yaml.snakeyaml with type arguments of type Node Constructor Description NodeIterable(java.util.Iterator<Node> iterator)
-
Uses of Node in org.yaml.snakeyaml.composer
Fields in org.yaml.snakeyaml.composer with type parameters of type Node Modifier and Type Field Description private java.util.Map<java.lang.String,Node>
Composer. anchors
private java.util.Set<Node>
Composer. recursiveNodes
Methods in org.yaml.snakeyaml.composer that return Node Modifier and Type Method Description protected Node
Composer. composeKeyNode(MappingNode node)
protected Node
Composer. composeMappingNode(java.lang.String anchor)
private Node
Composer. composeNode(Node parent)
protected Node
Composer. composeScalarNode(java.lang.String anchor)
protected Node
Composer. composeSequenceNode(java.lang.String anchor)
protected Node
Composer. composeValueNode(MappingNode node)
Node
Composer. getNode()
Reads and composes the next document.Node
Composer. getSingleNode()
Reads a document from a source that contains only one document.Methods in org.yaml.snakeyaml.composer with parameters of type Node Modifier and Type Method Description private Node
Composer. composeNode(Node parent)
-
Uses of Node in org.yaml.snakeyaml.constructor
Fields in org.yaml.snakeyaml.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.yaml.snakeyaml.constructor with parameters of type Node Modifier and Type Method Description java.lang.Object
Construct. construct(Node node)
Construct a Java instance with all the properties injected when it is possible.java.lang.Object
Constructor.ConstructMapping. construct(Node node)
Construct JavaBean.java.lang.Object
Constructor.ConstructScalar. construct(Node nnode)
java.lang.Object
Constructor.ConstructSequence. construct(Node node)
java.lang.Object
Constructor.ConstructYamlObject. construct(Node node)
java.lang.Object
SafeConstructor.ConstructUndefined. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlBinary. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlBool. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlFloat. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlInt. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlMap. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlNull. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlOmap. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlPairs. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlSeq. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlSet. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlStr. construct(Node node)
java.lang.Object
SafeConstructor.ConstructYamlTimestamp. construct(Node node)
void
AbstractConstruct. construct2ndStep(Node node, java.lang.Object data)
Fail with a reminder to provide the seconds step for a recursive structurevoid
Construct. construct2ndStep(Node node, java.lang.Object object)
Apply the second step when constructing recursive structures.void
Constructor.ConstructMapping. construct2ndStep(Node node, java.lang.Object object)
void
Constructor.ConstructSequence. construct2ndStep(Node node, java.lang.Object object)
void
Constructor.ConstructYamlObject. construct2ndStep(Node node, java.lang.Object object)
void
SafeConstructor.ConstructYamlMap. construct2ndStep(Node node, java.lang.Object object)
void
SafeConstructor.ConstructYamlSeq. construct2ndStep(Node node, java.lang.Object data)
void
SafeConstructor.ConstructYamlSet. construct2ndStep(Node node, java.lang.Object object)
protected java.lang.Object
BaseConstructor. constructDocument(Node node)
Construct complete YAML document.protected java.lang.Object
BaseConstructor. constructObject(Node node)
Construct object from the specified Node.protected java.lang.Object
BaseConstructor. constructObjectNoCheck(Node node)
protected java.lang.Object
BaseConstructor. finalizeConstruction(Node node, java.lang.Object data)
protected java.lang.Class<?>
Constructor. getClassForNode(Node node)
protected Construct
BaseConstructor. getConstructor(Node node)
Get the constructor to construct the Node.private Construct
Constructor.ConstructYamlObject. getConstructor(Node node)
protected java.lang.Object
BaseConstructor. newInstance(java.lang.Class<?> ancestor, Node node)
protected java.lang.Object
BaseConstructor. newInstance(java.lang.Class<?> ancestor, Node node, boolean tryDefault)
protected java.lang.Object
BaseConstructor. newInstance(Node node)
private java.lang.Object
Constructor.ConstructMapping. newInstance(TypeDescription memberDescription, java.lang.String propertyName, Node node)
-
Uses of Node in org.yaml.snakeyaml.env
Methods in org.yaml.snakeyaml.env with parameters of type Node Modifier and Type Method Description java.lang.Object
EnvScalarConstructor.ConstructEnv. construct(Node node)
-
Uses of Node in org.yaml.snakeyaml.extensions.compactnotation
Methods in org.yaml.snakeyaml.extensions.compactnotation with parameters of type Node Modifier and Type Method Description java.lang.Object
CompactConstructor.ConstructCompactObject. construct(Node node)
void
CompactConstructor.ConstructCompactObject. construct2ndStep(Node node, java.lang.Object object)
protected Construct
CompactConstructor. getConstructor(Node node)
-
Uses of Node in org.yaml.snakeyaml.nodes
Subclasses of Node in org.yaml.snakeyaml.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.yaml.snakeyaml.nodes declared as Node Modifier and Type Field Description private Node
NodeTuple. keyNode
private Node
AnchorNode. realNode
private Node
NodeTuple. valueNode
Fields in org.yaml.snakeyaml.nodes with type parameters of type Node Modifier and Type Field Description private java.util.List<Node>
SequenceNode. value
Methods in org.yaml.snakeyaml.nodes that return Node Modifier and Type Method Description Node
NodeTuple. getKeyNode()
Key node.Node
AnchorNode. getRealNode()
Node
NodeTuple. getValueNode()
Value node.Methods in org.yaml.snakeyaml.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.yaml.snakeyaml.nodes with parameters of type Node Constructor Description AnchorNode(Node realNode)
NodeTuple(Node keyNode, Node valueNode)
Constructor parameters in org.yaml.snakeyaml.nodes with type arguments of type Node Constructor Description SequenceNode(Tag tag, boolean resolved, java.util.List<Node> value, Mark startMark, Mark endMark, java.lang.Boolean style)
Deprecated.SequenceNode(Tag tag, boolean resolved, java.util.List<Node> value, Mark startMark, Mark endMark, DumperOptions.FlowStyle flowStyle)
SequenceNode(Tag tag, java.util.List<Node> value, java.lang.Boolean style)
Deprecated.SequenceNode(Tag tag, java.util.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 Node Modifier and Type Field Description protected java.util.Map<java.lang.Object,Node>
BaseRepresenter. representedObjects
Methods in org.yaml.snakeyaml.representer that return Node Modifier and Type Method Description Node
BaseRepresenter. represent(java.lang.Object data)
protected Node
BaseRepresenter. representData(java.lang.Object data)
Node
Represent. representData(java.lang.Object data)
Create a NodeNode
Representer.RepresentJavaBean. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentArray. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentBoolean. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentByteArray. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentDate. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentEnum. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentIterator. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentList. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentMap. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentNull. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentNumber. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentPrimitiveArray. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentSet. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentString. representData(java.lang.Object data)
Node
SafeRepresenter.RepresentUuid. representData(java.lang.Object data)
protected Node
BaseRepresenter. representMapping(Tag tag, java.util.Map<?,?> mapping, DumperOptions.FlowStyle flowStyle)
protected Node
BaseRepresenter. representScalar(Tag tag, java.lang.String value)
protected Node
BaseRepresenter. representScalar(Tag tag, java.lang.String value, DumperOptions.ScalarStyle style)
protected Node
BaseRepresenter. representSequence(Tag tag, java.lang.Iterable<?> sequence, DumperOptions.FlowStyle flowStyle)
Methods in org.yaml.snakeyaml.representer with parameters of type Node Modifier and Type Method Description protected void
Representer. checkGlobalTag(Property property, Node node, java.lang.Object object)
Remove redundant global tag for a type safe (generic) collection if it is the same as defined by the JavaBean propertyprivate void
Representer. resetTag(java.lang.Class<? extends java.lang.Object> type, Node node)
-
Uses of Node in org.yaml.snakeyaml.serializer
Fields in org.yaml.snakeyaml.serializer with type parameters of type Node Modifier and Type Field Description private java.util.Map<Node,java.lang.String>
Serializer. anchors
private java.util.Set<Node>
Serializer. serializedNodes
Methods in org.yaml.snakeyaml.serializer with parameters of type Node Modifier and Type Method Description private void
Serializer. anchorNode(Node node)
java.lang.String
AnchorGenerator. nextAnchor(Node node)
java.lang.String
NumberAnchorGenerator. nextAnchor(Node node)
void
Serializer. serialize(Node node)
private void
Serializer. serializeNode(Node node, Node parent)
-