| Modifier and Type | Method and 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| Iterable<Node> | Yaml. composeAll(Reader yaml)Parse all YAML documents in a stream and produce corresponding
 representation trees. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
| Object | TypeDescription. newInstance(String propertyName,
           Node node) | 
| 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) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Node | Composer. composeKeyNode(MappingNode node) | 
| protected 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) | 
| Node | Composer. getNode()Reads and composes the next document. | 
| Node | Composer. getSingleNode()Reads a document from a source that contains only one document. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | Construct. construct(Node node)Construct a Java instance with all the properties injected when it is
 possible. | 
| Object | SafeConstructor.ConstructYamlNull. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlBool. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlInt. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlFloat. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlBinary. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlTimestamp. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlOmap. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlPairs. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlSet. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlStr. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlSeq. construct(Node node) | 
| Object | SafeConstructor.ConstructYamlMap. construct(Node node) | 
| Object | SafeConstructor.ConstructUndefined. construct(Node node) | 
| Object | Constructor.ConstructMapping. construct(Node node)Construct JavaBean. | 
| Object | Constructor.ConstructYamlObject. construct(Node node) | 
| Object | Constructor.ConstructScalar. construct(Node nnode) | 
| Object | Constructor.ConstructSequence. construct(Node node) | 
| void | AbstractConstruct. construct2ndStep(Node node,
                Object data)Fail with a reminder to provide the seconds step for a recursive
 structure | 
| void | Construct. construct2ndStep(Node node,
                Object object)Apply the second step when constructing recursive structures. | 
| void | SafeConstructor.ConstructYamlSet. construct2ndStep(Node node,
                Object object) | 
| void | SafeConstructor.ConstructYamlSeq. construct2ndStep(Node node,
                Object data) | 
| void | SafeConstructor.ConstructYamlMap. construct2ndStep(Node node,
                Object object) | 
| void | Constructor.ConstructMapping. construct2ndStep(Node node,
                Object object) | 
| void | Constructor.ConstructYamlObject. construct2ndStep(Node node,
                Object object) | 
| void | Constructor.ConstructSequence. 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) | 
| 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) | 
| protected Object | BaseConstructor. newInstance(Node node) | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | CompactConstructor.ConstructCompactObject. construct(Node node) | 
| void | CompactConstructor.ConstructCompactObject. construct2ndStep(Node node,
                Object object) | 
| protected Construct | CompactConstructor. getConstructor(Node node) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AnchorNodeThis class is only used during representation (dumping) | 
| class  | CollectionNode<T>Base class for the two collection types  mappingandcollection. | 
| class  | MappingNodeRepresents a map. | 
| class  | ScalarNodeRepresents a scalar node. | 
| class  | SequenceNodeRepresents a sequence. | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | NodeTuple. getKeyNode()Key node. | 
| Node | AnchorNode. getRealNode() | 
| Node | NodeTuple. getValueNode()Value node. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<Node> | SequenceNode. getValue()Returns the elements in this sequence. | 
| Constructor and Description | 
|---|
| AnchorNode(Node realNode) | 
| NodeTuple(Node keyNode,
         Node valueNode) | 
| Constructor and Description | 
|---|
| SequenceNode(Tag tag,
            boolean resolved,
            List<Node> value,
            Mark startMark,
            Mark endMark,
            Boolean style)Deprecated.  | 
| SequenceNode(Tag tag,
            boolean resolved,
            List<Node> value,
            Mark startMark,
            Mark endMark,
            DumperOptions.FlowStyle flowStyle) | 
| SequenceNode(Tag tag,
            List<Node> value,
            Boolean style)Deprecated.  | 
| SequenceNode(Tag tag,
            List<Node> value,
            DumperOptions.FlowStyle flowStyle) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<Object,Node> | BaseRepresenter. representedObjects | 
| Modifier and Type | Method and Description | 
|---|---|
| Node | BaseRepresenter. represent(Object data) | 
| protected Node | BaseRepresenter. representData(Object data) | 
| Node | Represent. representData(Object data)Create a Node | 
| Node | 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) | 
| Modifier and Type | Method and 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| String | NumberAnchorGenerator. nextAnchor(Node node) | 
| String | AnchorGenerator. nextAnchor(Node node) | 
| void | Serializer. serialize(Node node) | 
Copyright © 2008–2021. All rights reserved.