-
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.
|
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.
|
boolean |
TypeDescription.setupPropertyType(java.lang.String key,
Node valueNode) |
|
-
-
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
structure
|
void |
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.
|
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) |
|
-
-
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.
|
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) |
|
-
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 property
|
-