liquibase.serializer.core.yaml
Class YamlSerializer.LiquibaseRepresenter

java.lang.Object
  extended by org.yaml.snakeyaml.representer.BaseRepresenter
      extended by org.yaml.snakeyaml.representer.Representer
          extended by liquibase.serializer.core.yaml.YamlSerializer.LiquibaseRepresenter
Direct Known Subclasses:
YamlSnapshotSerializer.SnapshotLiquibaseRepresenter
Enclosing class:
YamlSerializer

public static class YamlSerializer.LiquibaseRepresenter
extends org.yaml.snakeyaml.representer.Representer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.yaml.snakeyaml.representer.Representer
org.yaml.snakeyaml.representer.Representer.RepresentJavaBean
 
Field Summary
protected  Map<Class<? extends Object>,org.yaml.snakeyaml.nodes.Tag> classTags
           
static Pattern MULTILINE_PATTERN
           
protected  TimeZone timeZone
           
 
Fields inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
defaultFlowStyle, defaultScalarStyle, multiRepresenters, nullRepresenter, objectToRepresent, representedObjects, representers
 
Constructor Summary
YamlSerializer.LiquibaseRepresenter()
           
 
Method Summary
protected  Set<org.yaml.snakeyaml.introspector.Property> getProperties(Class<? extends Object> type)
           
protected  org.yaml.snakeyaml.nodes.Tag getTag(Class<?> clazz, org.yaml.snakeyaml.nodes.Tag defaultTag)
           
protected  void init()
           
 org.yaml.snakeyaml.nodes.Node represent(Object data)
           
protected  org.yaml.snakeyaml.nodes.MappingNode representJavaBean(Set<org.yaml.snakeyaml.introspector.Property> properties, Object javaBean)
           
protected  org.yaml.snakeyaml.nodes.NodeTuple representJavaBeanProperty(Object javaBean, org.yaml.snakeyaml.introspector.Property property, Object propertyValue, org.yaml.snakeyaml.nodes.Tag customTag)
           
 
Methods inherited from class org.yaml.snakeyaml.representer.Representer
checkGlobalTag
 
Methods inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
getDefaultFlowStyle, getPropertyUtils, isExplicitPropertyUtils, representData, representMapping, representScalar, representScalar, representSequence, setDefaultFlowStyle, setDefaultScalarStyle, setPropertyUtils
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classTags

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

timeZone

protected TimeZone timeZone

MULTILINE_PATTERN

public static Pattern MULTILINE_PATTERN
Constructor Detail

YamlSerializer.LiquibaseRepresenter

public YamlSerializer.LiquibaseRepresenter()
Method Detail

init

protected void init()

getTag

protected org.yaml.snakeyaml.nodes.Tag getTag(Class<?> clazz,
                                              org.yaml.snakeyaml.nodes.Tag defaultTag)

representJavaBean

protected org.yaml.snakeyaml.nodes.MappingNode representJavaBean(Set<org.yaml.snakeyaml.introspector.Property> properties,
                                                                 Object javaBean)
Overrides:
representJavaBean in class org.yaml.snakeyaml.representer.Representer

representJavaBeanProperty

protected org.yaml.snakeyaml.nodes.NodeTuple representJavaBeanProperty(Object javaBean,
                                                                       org.yaml.snakeyaml.introspector.Property property,
                                                                       Object propertyValue,
                                                                       org.yaml.snakeyaml.nodes.Tag customTag)
Overrides:
representJavaBeanProperty in class org.yaml.snakeyaml.representer.Representer

represent

public org.yaml.snakeyaml.nodes.Node represent(Object data)
Overrides:
represent in class org.yaml.snakeyaml.representer.BaseRepresenter

getProperties

protected Set<org.yaml.snakeyaml.introspector.Property> getProperties(Class<? extends Object> type)
                                                               throws IntrospectionException
Overrides:
getProperties in class org.yaml.snakeyaml.representer.Representer
Throws:
IntrospectionException


Copyright © 2016 Liquibase.org. All rights reserved.