Class 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> classTags  
      protected DumperOptions.NonPrintableStyle nonPrintableStyle  
      protected TimeZone timeZone  
      • Fields inherited from class Representer

        typeDefinitions
      • Fields inherited from class BaseRepresenter

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Tag addClassTag​(Class<? extends Object> arg0, Tag arg1)  
      protected Tag getTag​(Class<?> arg0, Tag arg1)  
      TimeZone getTimeZone()  
      void setTimeZone​(TimeZone arg0)  
      • 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 Detail

      • classTags

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

        protected TimeZone timeZone
      • nonPrintableStyle

        protected DumperOptions.NonPrintableStyle nonPrintableStyle
    • Constructor Detail

      • YsldRepresenter

        public YsldRepresenter​(UomMapper uomMapper)
    • Method Detail

      • 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)