Class ModelRepresenter
java.lang.Object
org.yaml.snakeyaml.representer.BaseRepresenter
org.yaml.snakeyaml.representer.Representer
org.sonatype.maven.polyglot.yaml.ModelRepresenter
class ModelRepresenter
extends org.yaml.snakeyaml.representer.Representer
YAML model representer.
- Since:
- 0.7
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classprivate classprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentArrayprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentBooleanprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentByteArrayprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentDateprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentEnumprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentIteratorprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentListprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentMapprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentNullprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentNumberprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentPrimitiveArrayprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentSetprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentStringprotected classorg.yaml.snakeyaml.representer.SafeRepresenter.RepresentUuidNested classes/interfaces inherited from class org.yaml.snakeyaml.representer.Representer
org.yaml.snakeyaml.representer.Representer.RepresentJavaBean -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.yaml.snakeyaml.DumperOptions.NonPrintableStyleprotected TimeZoneFields inherited from class org.yaml.snakeyaml.representer.Representer
typeDefinitionsFields inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
defaultFlowStyle, defaultScalarStyle, multiRepresenters, nullRepresenter, objectToRepresent, representedObjects, representers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.yaml.snakeyaml.nodes.TagaddClassTag(Class<? extends Object> arg0, org.yaml.snakeyaml.nodes.Tag arg1) protected Set<org.yaml.snakeyaml.introspector.Property> getProperties(Class<? extends Object> type) protected org.yaml.snakeyaml.nodes.Tagprotected org.yaml.snakeyaml.nodes.NodeTuplerepresentJavaBeanProperty(Object javaBean, org.yaml.snakeyaml.introspector.Property property, Object propertyValue, org.yaml.snakeyaml.nodes.Tag customTag) voidsetTimeZone(TimeZone arg0) private booleanskipBoolean(org.yaml.snakeyaml.introspector.Property property, String name, Object propertyValue, boolean value) private booleanskipString(org.yaml.snakeyaml.introspector.Property property, String name, Object propertyValue, String value) private Set<org.yaml.snakeyaml.introspector.Property> sortTypeWithOrder(Class<? extends Object> type, List<String> order) Methods inherited from class org.yaml.snakeyaml.representer.Representer
addTypeDescription, checkGlobalTag, representJavaBean, setPropertyUtilsMethods inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
getDefaultFlowStyle, getDefaultScalarStyle, getPropertyUtils, isExplicitPropertyUtils, represent, representData, representMapping, representScalar, representScalar, representSequence, setDefaultFlowStyle, setDefaultScalarStyle
-
Field Details
-
ORDER_MODEL
-
ORDER_DEVELOPER
-
ORDER_CONTRIBUTOR
-
ORDER_DEPENDENCY
-
ORDER_PLUGIN
-
classTags
-
timeZone
-
nonPrintableStyle
protected org.yaml.snakeyaml.DumperOptions.NonPrintableStyle nonPrintableStyle
-
-
Constructor Details
-
ModelRepresenter
public ModelRepresenter(org.yaml.snakeyaml.DumperOptions options)
-
-
Method Details
-
representJavaBeanProperty
-
skipString
-
skipBoolean
-
getProperties
-
sortTypeWithOrder
-
getTag
-
addClassTag
-
getTimeZone
-
setTimeZone
-