Package | Description |
---|---|
org.yaml.snakeyaml | |
org.yaml.snakeyaml.constructor | |
org.yaml.snakeyaml.nodes | |
org.yaml.snakeyaml.representer | |
org.yaml.snakeyaml.resolver | |
org.yaml.snakeyaml.serializer |
Modifier and Type | Method and Description |
---|---|
Tag |
TypeDescription.getTag()
Get tag which shall be used to load or dump the type (class).
|
Modifier and Type | Method and Description |
---|---|
void |
Yaml.addImplicitResolver(Tag tag,
Pattern regexp,
String first)
Add an implicit scalar detector.
|
String |
Yaml.dumpAs(Object data,
Tag rootTag,
DumperOptions.FlowStyle flowStyle)
Serialize a Java object into a YAML string.
|
void |
TypeDescription.setTag(Tag tag)
Set tag to be used to load or dump the type (class).
|
Constructor and Description |
---|
TypeDescription(Class<? extends Object> clazz,
Tag tag) |
Modifier and Type | Field and Description |
---|---|
protected Tag |
BaseConstructor.rootTag |
Modifier and Type | Field and Description |
---|---|
protected Map<Tag,Construct> |
BaseConstructor.yamlConstructors
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.OMAP |
static Tag |
Tag.PAIRS |
static Tag |
Tag.SEQ |
static Tag |
Tag.SET |
static Tag |
Tag.STR |
static Tag |
Tag.TIMESTAMP |
static Tag |
Tag.YAML |
Modifier and Type | Field and Description |
---|---|
static Map<Tag,Set<Class<?>>> |
Tag.COMPATIBILITY_MAP |
Modifier and Type | Method and Description |
---|---|
Tag |
Node.getTag()
Tag of this node.
|
Modifier and Type | Method and Description |
---|---|
int |
Tag.compareTo(Tag o) |
void |
Node.setTag(Tag tag) |
Constructor and Description |
---|
CollectionNode(Tag tag,
Mark startMark,
Mark endMark,
Boolean flowStyle) |
MappingNode(Tag tag,
boolean resolved,
List<NodeTuple> value,
Mark startMark,
Mark endMark,
Boolean flowStyle) |
MappingNode(Tag tag,
List<NodeTuple> value,
Boolean flowStyle) |
Node(Tag tag,
Mark startMark,
Mark endMark) |
ScalarNode(Tag tag,
boolean resolved,
String value,
Mark startMark,
Mark endMark,
Character style) |
ScalarNode(Tag tag,
String value,
Mark startMark,
Mark endMark,
Character style) |
SequenceNode(Tag tag,
boolean resolved,
List<Node> value,
Mark startMark,
Mark endMark,
Boolean flowStyle) |
SequenceNode(Tag tag,
List<Node> value,
Boolean flowStyle) |
Modifier and Type | Method and Description |
---|---|
protected NodeTuple |
Representer.representJavaBeanProperty(Object javaBean,
Property property,
Object propertyValue,
Tag customTag)
Represent one JavaBean property.
|
protected Node |
BaseRepresenter.representMapping(Tag tag,
Map<?,?> mapping,
Boolean flowStyle) |
protected Node |
BaseRepresenter.representScalar(Tag tag,
String value) |
protected Node |
BaseRepresenter.representScalar(Tag tag,
String value,
Character style) |
protected Node |
BaseRepresenter.representSequence(Tag tag,
Iterable<?> sequence,
Boolean flowStyle) |
Modifier and Type | Method and Description |
---|---|
Tag |
Resolver.resolve(NodeId kind,
String value,
boolean implicit) |
Modifier and Type | Method and Description |
---|---|
void |
Resolver.addImplicitResolver(Tag tag,
Pattern regexp,
String first) |
Constructor and Description |
---|
Serializer(Emitable emitter,
Resolver resolver,
DumperOptions opts,
Tag rootTag) |
Copyright © 2008–2016. All rights reserved.