Class YsldRepresenter

Object
BaseRepresenter
Representer
YsldRepresenter

public class YsldRepresenter extends Representer
Represent YSLD JavaBeans Extends the yaml Representer for YSLD-specific representations for Color, UOM (unit of measure) and Tuple.
  • Nested Class Summary

    Nested classes/interfaces inherited from class Representer

    Representer.RepresentJavaBean
  • Field Summary

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

    Fields inherited from class Representer

    typeDefinitions

    Fields inherited from class BaseRepresenter

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Tag
    addClassTag(Class<? extends Object> arg0, Tag arg1)
     
    protected Tag
    getTag(Class<?> arg0, Tag arg1)
     
     
    void
     

    Methods inherited from class Representer

    addTypeDescription, checkGlobalTag, getProperties, representJavaBean, representJavaBeanProperty, setPropertyUtils

    Methods inherited from class BaseRepresenter

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

    Methods inherited from class Object

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

    • classTags

      protected Map<Class<? extends Object>,Tag> classTags
    • timeZone

      protected TimeZone timeZone
    • nonPrintableStyle

      protected DumperOptions.NonPrintableStyle nonPrintableStyle
  • Constructor Details

    • YsldRepresenter

      public YsldRepresenter(UomMapper uomMapper)
  • Method Details

    • getTag

      protected Tag getTag(Class<?> arg0, Tag arg1)
    • addClassTag

      public Tag addClassTag(Class<? extends Object> arg0, Tag arg1)
    • getTimeZone

      public TimeZone getTimeZone()
    • setTimeZone

      public void setTimeZone(TimeZone arg0)