public abstract class BaseRepresenter extends Object
Modifier and Type | Field and Description |
---|---|
protected FlowStyle |
defaultFlowStyle |
protected ScalarStyle |
defaultScalarStyle |
protected Map<Class<?>,RepresentToNode> |
multiRepresenters |
protected RepresentToNode |
nullRepresenter
in Java 'null' is not a type.
|
protected Object |
objectToRepresent |
protected Map<Object,Node> |
representedObjects |
protected Map<Class<?>,RepresentToNode> |
representers |
Constructor and Description |
---|
BaseRepresenter() |
Modifier and Type | Method and Description |
---|---|
Node |
represent(Object data) |
protected Node |
representData(Object data) |
protected Node |
representMapping(Tag tag,
Map<?,?> mapping,
FlowStyle flowStyle) |
protected Node |
representScalar(Tag tag,
String value) |
protected Node |
representScalar(Tag tag,
String value,
ScalarStyle style) |
protected Node |
representSequence(Tag tag,
Iterable<?> sequence,
FlowStyle flowStyle) |
protected final Map<Class<?>,RepresentToNode> representers
protected RepresentToNode nullRepresenter
protected final Map<Class<?>,RepresentToNode> multiRepresenters
protected ScalarStyle defaultScalarStyle
protected FlowStyle defaultFlowStyle
protected Object objectToRepresent
Copyright © 2019 Hazelcast, Inc.. All rights reserved.