Class StandardRepresenter
- java.lang.Object
-
- org.snakeyaml.engine.v2.representer.BaseRepresenter
-
- org.snakeyaml.engine.v2.representer.StandardRepresenter
-
public class StandardRepresenter extends BaseRepresenter
Represent standard Java classes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classStandardRepresenter.RepresentArrayprotected classStandardRepresenter.RepresentBooleanprotected classStandardRepresenter.RepresentByteArrayprotected classStandardRepresenter.RepresentEnumprotected classStandardRepresenter.RepresentIteratorprotected classStandardRepresenter.RepresentListprotected classStandardRepresenter.RepresentMapprotected classStandardRepresenter.RepresentNullprotected classStandardRepresenter.RepresentNumberprotected classStandardRepresenter.RepresentOptionalprotected classStandardRepresenter.RepresentPrimitiveArrayRepresents primitive arrays, such as short[] and float[], by converting them into equivalentListusing the appropriate autoboxing type.protected classStandardRepresenter.RepresentSetprotected classStandardRepresenter.RepresentStringprotected classStandardRepresenter.RepresentUuid
-
Field Summary
Fields Modifier and Type Field Description protected Map<Class<? extends Object>,Tag>classTagsstatic PatternMULTILINE_PATTERNprotected DumpSettingssettings-
Fields inherited from class org.snakeyaml.engine.v2.representer.BaseRepresenter
defaultFlowStyle, defaultScalarStyle, nullRepresenter, objectToRepresent, parentClassRepresenters, representedObjects, representers
-
-
Constructor Summary
Constructors Constructor Description StandardRepresenter(DumpSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TagaddClassTag(Class<? extends Object> clazz, Tag tag)Define a tag for theClassto serialize.protected TaggetTag(Class<?> clazz, Tag defaultTag)-
Methods inherited from class org.snakeyaml.engine.v2.representer.BaseRepresenter
findRepresenterFor, represent, representData, representMapping, representScalar, representScalar, representSequence
-
-
-
-
Constructor Detail
-
StandardRepresenter
public StandardRepresenter(DumpSettings settings)
-
-