Modifier and Type | Method and Description |
---|---|
Optional<Tag> |
DumpSettings.getExplicitRootTag() |
Map<Tag,ConstructNode> |
LoadSettings.getTagConstructors() |
Modifier and Type | Method and Description |
---|---|
DumpSettingsBuilder |
DumpSettingsBuilder.setExplicitRootTag(Optional<Tag> explicitRootTag)
Define root
Tag or let the tag to be detected automatically |
LoadSettingsBuilder |
LoadSettingsBuilder.setTagConstructors(Map<Tag,ConstructNode> tagConstructors)
Provide constructors for the specified tags.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Tag,ConstructNode> |
BaseConstructor.tagConstructors
It maps the (explicit or implicit) tag to the Construct implementation.
|
Modifier and Type | Field and Description |
---|---|
static Tag |
Tag.BINARY |
static Tag |
Tag.BOOL |
static Tag |
Tag.FLOAT |
static Tag |
Tag.INT |
static Tag |
Tag.MAP |
static Tag |
Tag.MERGE |
static Tag |
Tag.NULL |
static Tag |
Tag.SEQ |
static Tag |
Tag.SET |
static Tag |
Tag.STR |
Modifier and Type | Method and Description |
---|---|
Tag |
Node.getTag()
Tag of this node.
|
Modifier and Type | Method and Description |
---|---|
void |
Node.setTag(Tag tag) |
Constructor and Description |
---|
CollectionNode(Tag tag,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
MappingNode(Tag tag,
boolean resolved,
List<NodeTuple> value,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
MappingNode(Tag tag,
List<NodeTuple> value,
FlowStyle flowStyle) |
Node(Tag tag,
Optional<Mark> startMark,
Optional<Mark> endMark)
Create Node to be parsed
|
ScalarNode(Tag tag,
boolean resolved,
String value,
ScalarStyle style,
Optional<Mark> startMark,
Optional<Mark> endMark) |
ScalarNode(Tag tag,
String value,
ScalarStyle style) |
SequenceNode(Tag tag,
boolean resolved,
List<Node> value,
FlowStyle flowStyle,
Optional<Mark> startMark,
Optional<Mark> endMark) |
SequenceNode(Tag tag,
List<Node> value,
FlowStyle flowStyle) |
Modifier and Type | Field and Description |
---|---|
protected Map<Class<? extends Object>,Tag> |
StandardRepresenter.classTags |
Modifier and Type | Method and Description |
---|---|
Tag |
StandardRepresenter.addClassTag(Class<? extends Object> clazz,
Tag tag)
Define a tag for the
Class to serialize. |
protected Tag |
StandardRepresenter.getTag(Class<?> clazz,
Tag defaultTag) |
Modifier and Type | Method and Description |
---|---|
Tag |
StandardRepresenter.addClassTag(Class<? extends Object> clazz,
Tag tag)
Define a tag for the
Class to serialize. |
protected Tag |
StandardRepresenter.getTag(Class<?> clazz,
Tag defaultTag) |
protected Node |
BaseRepresenter.representMapping(Tag tag,
Map<?,?> mapping,
FlowStyle flowStyle) |
protected Node |
BaseRepresenter.representScalar(Tag tag,
String value) |
protected Node |
BaseRepresenter.representScalar(Tag tag,
String value,
ScalarStyle style) |
protected Node |
BaseRepresenter.representSequence(Tag tag,
Iterable<?> sequence,
FlowStyle flowStyle) |
Modifier and Type | Method and Description |
---|---|
Tag |
ScalarResolver.resolve(String value,
Boolean implicit)
Resolve (detect) the tag of the scalar node of the given type.
|
Tag |
JsonScalarResolver.resolve(String value,
Boolean implicit) |
Modifier and Type | Method and Description |
---|---|
void |
JsonScalarResolver.addImplicitResolver(Tag tag,
Pattern regexp,
String first) |
Copyright © 2019 Hazelcast, Inc.. All rights reserved.