| Modifier and Type | Field and Description |
|---|---|
| protected DumperOptions. | defaultFlowStyle
flow style to use if not redefined. |
| protected DumperOptions. | defaultScalarStyle
default scalar style is PLAIN |
| private boolean | |
| protected final Map | multiRepresenters
represent class and its children with common code |
| protected Represent | nullRepresenter
in Java 'null' is not a type. |
| protected Object | objectToRepresent
object to create the Node for |
| private PropertyUtils | |
| protected final Map | representedObjects
Keep references of already represented instances |
| protected final Map | representers
represent the class without its subclasses |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DumperOptions. | |
| public DumperOptions. | |
| public final PropertyUtils | |
| public final boolean | |
| public Node | |
| protected final Node | |
| protected Node | |
| protected Node | |
| protected Node | |
| protected Node | |
| public void | |
| public void | |
| public void |
| defaultFlowStyle | back to summary |
|---|---|
| protected DumperOptions. flow style to use if not redefined. | |
| defaultScalarStyle | back to summary |
|---|---|
| protected DumperOptions. default scalar style is PLAIN | |
| explicitPropertyUtils | back to summary |
|---|---|
| private boolean explicitPropertyUtils | |
| multiRepresenters | back to summary |
|---|---|
| protected final Map<Class<?>, Represent> multiRepresenters represent class and its children with common code | |
| nullRepresenter | back to summary |
|---|---|
| protected Represent nullRepresenter in Java 'null' is not a type. So we have to keep the null representer separately otherwise it will coincide with the default representer which is stored with the key null. | |
| objectToRepresent | back to summary |
|---|---|
| protected Object objectToRepresent object to create the Node for | |
| propertyUtils | back to summary |
|---|---|
| private PropertyUtils propertyUtils | |
| representedObjects | back to summary |
|---|---|
| protected final Map<Object, Node> representedObjects Keep references of already represented instances | |
| representers | back to summary |
|---|---|
| protected final Map<Class<?>, Represent> representers represent the class without its subclasses | |
| BaseRepresenter | back to summary |
|---|---|
| public BaseRepresenter() | |
| getDefaultFlowStyle | back to summary |
|---|---|
| public DumperOptions. getter
| |
| getDefaultScalarStyle | back to summary |
|---|---|
| public DumperOptions. getter
| |
| getPropertyUtils | back to summary |
|---|---|
| public final PropertyUtils getPropertyUtils() getter
| |
| isExplicitPropertyUtils | back to summary |
|---|---|
| public final boolean isExplicitPropertyUtils() | |
| represent | back to summary |
|---|---|
| public Node represent(Object data) | |
| representData | back to summary |
|---|---|
| protected final Node representData(Object data) | |
| representMapping | back to summary |
|---|---|
| protected Node representMapping(Tag tag, Map<?, ?> mapping, DumperOptions. | |
| representScalar | back to summary |
|---|---|
| protected Node representScalar(Tag tag, String value, DumperOptions. | |
| representScalar | back to summary |
|---|---|
| protected Node representScalar(Tag tag, String value) | |
| representSequence | back to summary |
|---|---|
| protected Node representSequence(Tag tag, Iterable<?> sequence, DumperOptions. | |
| setDefaultFlowStyle | back to summary |
|---|---|
| public void setDefaultFlowStyle(DumperOptions. | |
| setDefaultScalarStyle | back to summary |
|---|---|
| public void setDefaultScalarStyle(DumperOptions. | |
| setPropertyUtils | back to summary |
|---|---|
| public void setPropertyUtils(PropertyUtils propertyUtils) | |