Uses of Class
org.yaml.snakeyaml.nodes.Node
-
-
Uses of Node in org.yaml.snakeyaml
Methods in org.yaml.snakeyaml that return Node Modifier and Type Method Description Node
Yaml. compose(Reader yaml)
Parse the first YAML document in a stream and produce the corresponding representation tree.Node
Yaml. represent(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 Iterable<Node>
Yaml. composeAll(Reader yaml)
Parse all YAML documents in a stream and produce corresponding representation trees.Methods in org.yaml.snakeyaml with parameters of type Node Modifier and Type Method Description Object
TypeDescription. newInstance(String propertyName, Node node)
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.List<Event>
Yaml. serialize(Node data)
Serialize the representation tree into Events.void
Yaml. serialize(Node node, Writer output)
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 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(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 valueNode
Composer. getNode()
Reads and composes the next document.Node
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 Node Modifier and Type Method Description Object
Construct. construct(Node node)
Construct a Java instance with all the properties injected when it is possible.Object
Constructor.ConstructMapping. construct(Node node)
Construct JavaBean.Object
Constructor.ConstructScalar. construct(Node nnode)
Object
Constructor.ConstructSequence. construct(Node node)
Object
Constructor.ConstructYamlObject. construct(Node node)
Object
SafeConstructor.ConstructUndefined. construct(Node node)
Object
SafeConstructor.ConstructYamlBinary. construct(Node node)
Object
SafeConstructor.ConstructYamlBool. construct(Node node)
Object
SafeConstructor.ConstructYamlFloat. construct(Node node)
Object
SafeConstructor.ConstructYamlInt. construct(Node node)
Object
SafeConstructor.ConstructYamlMap. construct(Node node)
Object
SafeConstructor.ConstructYamlNull. construct(Node node)
Object
SafeConstructor.ConstructYamlOmap. construct(Node node)
Object
SafeConstructor.ConstructYamlPairs. construct(Node node)
Object
SafeConstructor.ConstructYamlSeq. construct(Node node)
Object
SafeConstructor.ConstructYamlSet. construct(Node node)
Object
SafeConstructor.ConstructYamlStr. construct(Node node)
Object
SafeConstructor.ConstructYamlTimestamp. construct(Node node)
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 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 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 Node Modifier and Type Method Description Object
CompactConstructor.ConstructCompactObject. construct(Node node)
void
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.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.Methods in org.yaml.snakeyaml.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.yaml.snakeyaml.nodes that return types with arguments of type Node Modifier and Type Method Description 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)
AnchorNodeTuple(Node keyNode, Node valueNode)
Constructor parameters in org.yaml.snakeyaml.nodes with type arguments of type Node Constructor Description SequenceNode(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 Node Modifier and Type Field Description protected Map<Object,Node>
BaseRepresenter. representedObjects
Keep references of already represented instancesMethods in org.yaml.snakeyaml.representer that return Node Modifier and Type Method Description Node
BaseRepresenter. represent(Object data)
protected Node
BaseRepresenter. representData(Object data)
Node
Represent. representData(Object data)
Create a NodeNode
Representer.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 Node Modifier and Type Method Description protected 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 Node Modifier and Type Method Description String
AnchorGenerator. nextAnchor(Node node)
Create a custom anchor to the provided NodeString
NumberAnchorGenerator. nextAnchor(Node node)
void
Serializer. serialize(Node node)
-