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 NodeYaml. compose(Reader yaml)Parse the first YAML document in a stream and produce the corresponding representation tree.NodeYaml. 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 ObjectTypeDescription. newInstance(String propertyName, Node node)ObjectTypeDescription. 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.voidYaml. serialize(Node node, Writer output)Serialize (dump) a YAML node into a YAML stream.booleanTypeDescription. 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 NodeComposer. composeKeyNode(MappingNode node)To be able to override composeNode(node) which is a keyprotected NodeComposer. composeMappingNode(String anchor)protected NodeComposer. composeScalarNode(String anchor, List<CommentLine> blockComments)protected NodeComposer. composeSequenceNode(String anchor)protected NodeComposer. composeValueNode(MappingNode node)To be able to override composeNode(node) which is a valueNodeComposer. getNode()Reads and composes the next document.NodeComposer. 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 ObjectConstruct. construct(Node node)Construct a Java instance with all the properties injected when it is possible.ObjectConstructor.ConstructMapping. construct(Node node)Construct JavaBean.ObjectConstructor.ConstructScalar. construct(Node nnode)ObjectConstructor.ConstructSequence. construct(Node node)ObjectConstructor.ConstructYamlObject. construct(Node node)ObjectSafeConstructor.ConstructUndefined. construct(Node node)ObjectSafeConstructor.ConstructYamlBinary. construct(Node node)ObjectSafeConstructor.ConstructYamlBool. construct(Node node)ObjectSafeConstructor.ConstructYamlFloat. construct(Node node)ObjectSafeConstructor.ConstructYamlInt. construct(Node node)ObjectSafeConstructor.ConstructYamlMap. construct(Node node)ObjectSafeConstructor.ConstructYamlNull. construct(Node node)ObjectSafeConstructor.ConstructYamlOmap. construct(Node node)ObjectSafeConstructor.ConstructYamlPairs. construct(Node node)ObjectSafeConstructor.ConstructYamlSeq. construct(Node node)ObjectSafeConstructor.ConstructYamlSet. construct(Node node)ObjectSafeConstructor.ConstructYamlStr. construct(Node node)ObjectSafeConstructor.ConstructYamlTimestamp. construct(Node node)voidAbstractConstruct. construct2ndStep(Node node, Object data)Fail with a reminder to provide the seconds step for a recursive structurevoidConstruct. construct2ndStep(Node node, Object object)Apply the second step when constructing recursive structures.voidConstructor.ConstructMapping. construct2ndStep(Node node, Object object)voidConstructor.ConstructSequence. construct2ndStep(Node node, Object object)voidConstructor.ConstructYamlObject. construct2ndStep(Node node, Object object)voidSafeConstructor.ConstructYamlMap. construct2ndStep(Node node, Object object)voidSafeConstructor.ConstructYamlSeq. construct2ndStep(Node node, Object data)voidSafeConstructor.ConstructYamlSet. construct2ndStep(Node node, Object object)protected ObjectBaseConstructor. constructDocument(Node node)Construct complete YAML document.protected ObjectBaseConstructor. constructObject(Node node)Construct object from the specified Node.protected ObjectBaseConstructor. constructObjectNoCheck(Node node)Construct object from the specified Node without the check if it was already created.protected ObjectBaseConstructor. finalizeConstruction(Node node, Object data)protected Class<?>Constructor. getClassForNode(Node node)protected ConstructBaseConstructor. getConstructor(Node node)Get the constructor to construct the Node.protected ObjectBaseConstructor. newInstance(Class<?> ancestor, Node node)protected ObjectBaseConstructor. newInstance(Class<?> ancestor, Node node, boolean tryDefault)Tries to create a new object for the node.protected ObjectBaseConstructor. 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 ObjectCompactConstructor.ConstructCompactObject. construct(Node node)voidCompactConstructor.ConstructCompactObject. construct2ndStep(Node node, Object object)protected ConstructCompactConstructor. getConstructor(Node node) -
Uses of Node in org.yaml.snakeyaml.nodes
Subclasses of Node in org.yaml.snakeyaml.nodes Modifier and Type Class Description classAnchorNodeThis class is only used during representation (dumping)classCollectionNode<T>Base class for the two collection typesmappingandcollection.classMappingNodeRepresents a map.classScalarNodeRepresents a scalar node.classSequenceNodeRepresents a sequence.Methods in org.yaml.snakeyaml.nodes that return Node Modifier and Type Method Description NodeNodeTuple. getKeyNode()Key node.NodeAnchorNode. getRealNode()GetterNodeNodeTuple. 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. representedObjectsKeep references of already represented instancesMethods in org.yaml.snakeyaml.representer that return Node Modifier and Type Method Description NodeBaseRepresenter. represent(Object data)protected NodeBaseRepresenter. representData(Object data)NodeRepresent. representData(Object data)Create a NodeNodeRepresenter.RepresentJavaBean. representData(Object data)protected NodeBaseRepresenter. representMapping(Tag tag, Map<?,?> mapping, DumperOptions.FlowStyle flowStyle)protected NodeBaseRepresenter. representScalar(Tag tag, String value)protected NodeBaseRepresenter. representScalar(Tag tag, String value, DumperOptions.ScalarStyle style)protected NodeBaseRepresenter. 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 voidRepresenter. 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 StringAnchorGenerator. nextAnchor(Node node)Create a custom anchor to the provided NodeStringNumberAnchorGenerator. nextAnchor(Node node)voidSerializer. serialize(Node node)
-