| Modifier and Type | Method and Description | 
|---|---|
| Tag | TypeDescription. getTag()Get tag which shall be used to load or dump the type (class). | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Yaml. addImplicitResolver(Tag tag,
                   Pattern regexp,
                   String first)Add an implicit scalar detector. | 
| String | Yaml. dumpAs(Object data,
      Tag rootTag,
      DumperOptions.FlowStyle flowStyle)
 Serialize a Java object into a YAML string. | 
| void | TypeDescription. setTag(Tag tag)Deprecated. 
 it will be removed because it is not used | 
| Constructor and Description | 
|---|
| TypeDescription(Class<? extends Object> clazz,
               Tag tag) | 
| TypeDescription(Class<? extends Object> clazz,
               Tag tag,
               Class<?> impl) | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Tag | BaseConstructor. rootTag | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Map<Tag,Class<? extends Object>> | BaseConstructor. typeTags | 
| protected Map<Tag,Construct> | BaseConstructor. yamlConstructorsIt maps the (explicit or implicit) tag to the Construct implementation. | 
| Modifier and Type | Field and Description | 
|---|---|
| static Tag | EnvScalarConstructor. ENV_TAG | 
| Modifier and Type | Field and Description | 
|---|---|
| static Tag | Tag. BINARY | 
| static Tag | Tag. BOOL | 
| static Tag | Tag. COMMENT | 
| static Tag | Tag. FLOAT | 
| static Tag | Tag. INT | 
| static Tag | Tag. MAP | 
| static Tag | Tag. MERGE | 
| static Tag | Tag. NULL | 
| static Tag | Tag. OMAP | 
| static Tag | Tag. PAIRS | 
| static Tag | Tag. SEQ | 
| static Tag | Tag. SET | 
| static Tag | Tag. STR | 
| static Tag | Tag. TIMESTAMP | 
| static Tag | Tag. YAML | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static Map<Tag,Set<Class<?>>> | Tag. COMPATIBILITY_MAP | 
| Modifier and Type | Method and Description | 
|---|---|
| Tag | Node. getTag()Tag of this node. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Node. setTag(Tag tag) | 
| Constructor and Description | 
|---|
| CollectionNode(Tag tag,
              Mark startMark,
              Mark endMark,
              Boolean flowStyle)Deprecated.  | 
| CollectionNode(Tag tag,
              Mark startMark,
              Mark endMark,
              DumperOptions.FlowStyle flowStyle) | 
| MappingNode(Tag tag,
           boolean resolved,
           List<NodeTuple> value,
           Mark startMark,
           Mark endMark,
           Boolean flowStyle)Deprecated.  | 
| MappingNode(Tag tag,
           boolean resolved,
           List<NodeTuple> value,
           Mark startMark,
           Mark endMark,
           DumperOptions.FlowStyle flowStyle) | 
| MappingNode(Tag tag,
           List<NodeTuple> value,
           Boolean flowStyle)Deprecated.  | 
| MappingNode(Tag tag,
           List<NodeTuple> value,
           DumperOptions.FlowStyle flowStyle) | 
| Node(Tag tag,
    Mark startMark,
    Mark endMark) | 
| ScalarNode(Tag tag,
          boolean resolved,
          String value,
          Mark startMark,
          Mark endMark,
          Character style)Deprecated.  | 
| ScalarNode(Tag tag,
          boolean resolved,
          String value,
          Mark startMark,
          Mark endMark,
          DumperOptions.ScalarStyle style) | 
| ScalarNode(Tag tag,
          String value,
          Mark startMark,
          Mark endMark,
          Character style)Deprecated.  | 
| ScalarNode(Tag tag,
          String value,
          Mark startMark,
          Mark endMark,
          DumperOptions.ScalarStyle style) | 
| 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 | Method and Description | 
|---|---|
| protected NodeTuple | Representer. representJavaBeanProperty(Object javaBean,
                         Property property,
                         Object propertyValue,
                         Tag customTag)Represent one JavaBean property. | 
| 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 | 
|---|---|
| Tag | Resolver. resolve(NodeId kind,
       String value,
       boolean implicit) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Resolver. addImplicitResolver(Tag tag,
                   Pattern regexp,
                   String first) | 
| Constructor and Description | 
|---|
| Serializer(Emitable emitter,
          Resolver resolver,
          DumperOptions opts,
          Tag rootTag) | 
Copyright © 2008–2021. All rights reserved.