public class StandardRepresenter extends BaseRepresenter
| Modifier and Type | Class and Description |
|---|---|
protected class |
StandardRepresenter.RepresentArray |
protected class |
StandardRepresenter.RepresentBoolean |
protected class |
StandardRepresenter.RepresentByteArray |
protected class |
StandardRepresenter.RepresentEnum |
protected class |
StandardRepresenter.RepresentIterator |
protected class |
StandardRepresenter.RepresentList |
protected class |
StandardRepresenter.RepresentMap |
protected class |
StandardRepresenter.RepresentNull |
protected class |
StandardRepresenter.RepresentNumber |
protected class |
StandardRepresenter.RepresentOptional |
protected class |
StandardRepresenter.RepresentPrimitiveArray
Represents primitive arrays, such as short[] and float[], by converting them into equivalent
List using the appropriate autoboxing type. |
protected class |
StandardRepresenter.RepresentSet |
protected class |
StandardRepresenter.RepresentString |
protected class |
StandardRepresenter.RepresentUuid |
| Modifier and Type | Field and Description |
|---|---|
protected Map<Class<? extends Object>,Tag> |
classTags |
static Pattern |
MULTILINE_PATTERN |
protected DumpSettings |
settings |
defaultFlowStyle, defaultScalarStyle, nullRepresenter, objectToRepresent, parentClassRepresenters, representedObjects, representers| Constructor and Description |
|---|
StandardRepresenter(DumpSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
Tag |
addClassTag(Class<? extends Object> clazz,
Tag tag)
Define a tag for the
Class to serialize. |
protected Tag |
getTag(Class<?> clazz,
Tag defaultTag) |
findRepresenterFor, represent, representData, representMapping, representMappingEntry, representScalar, representScalar, representSequenceprotected DumpSettings settings
public static final Pattern MULTILINE_PATTERN
public StandardRepresenter(DumpSettings settings)
Copyright © 2018–2022. All rights reserved.