Class YamlRepresenter

java.lang.Object
org.yaml.snakeyaml.representer.BaseRepresenter
org.yaml.snakeyaml.representer.Representer
io.wcm.devops.conga.generator.spi.yaml.context.YamlRepresenter

public final class YamlRepresenter extends org.yaml.snakeyaml.representer.Representer
SnakeYAML Representer implementation.
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.yaml.snakeyaml.representer.Representer

    org.yaml.snakeyaml.representer.Representer.RepresentJavaBean
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected Map<Class<? extends Object>,org.yaml.snakeyaml.nodes.Tag>
     
    protected org.yaml.snakeyaml.DumperOptions.NonPrintableStyle
     
    protected TimeZone
     

    Fields inherited from class org.yaml.snakeyaml.representer.Representer

    typeDefinitions

    Fields inherited from class org.yaml.snakeyaml.representer.BaseRepresenter

    defaultFlowStyle, defaultScalarStyle, multiRepresenters, nullRepresenter, objectToRepresent, representedObjects, representers
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.yaml.snakeyaml.nodes.Tag
    addClassTag(Class<? extends Object> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
     
    protected org.yaml.snakeyaml.nodes.Tag
    getTag(Class<?> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
     
     
    void
    registerRepresent(Class<?> clazz, org.yaml.snakeyaml.representer.Represent represent)
    Register a represent.
    void
     

    Methods inherited from class org.yaml.snakeyaml.representer.Representer

    addTypeDescription, checkGlobalTag, getProperties, representJavaBean, representJavaBeanProperty, setPropertyUtils

    Methods inherited from class org.yaml.snakeyaml.representer.BaseRepresenter

    getDefaultFlowStyle, getDefaultScalarStyle, getPropertyUtils, isExplicitPropertyUtils, represent, representData, representMapping, representScalar, representScalar, representSequence, setDefaultFlowStyle, setDefaultScalarStyle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • classTags

      protected Map<Class<? extends Object>,org.yaml.snakeyaml.nodes.Tag> classTags
    • timeZone

      protected TimeZone timeZone
    • nonPrintableStyle

      protected org.yaml.snakeyaml.DumperOptions.NonPrintableStyle nonPrintableStyle
  • Constructor Details

    • YamlRepresenter

      public YamlRepresenter()
      Constructor.
  • Method Details

    • registerRepresent

      public void registerRepresent(Class<?> clazz, org.yaml.snakeyaml.representer.Represent represent)
      Register a represent.
      Parameters:
      clazz - Class to represent
      represent - Represent implementation
    • getTag

      protected org.yaml.snakeyaml.nodes.Tag getTag(Class<?> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
    • addClassTag

      public org.yaml.snakeyaml.nodes.Tag addClassTag(Class<? extends Object> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
    • getTimeZone

      public TimeZone getTimeZone()
    • setTimeZone

      public void setTimeZone(TimeZone arg0)