Package | Description |
---|---|
org.yaml.snakeyaml | |
org.yaml.snakeyaml.emitter | |
org.yaml.snakeyaml.events | |
org.yaml.snakeyaml.parser |
Modifier and Type | Method | Description |
---|---|---|
Iterable<Event> |
Yaml.parse(Reader yaml) |
Parse a YAML stream and produce parsing events.
|
List<Event> |
Yaml.serialize(Node data) |
Serialize the representation tree into Events.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Emitable.emit(Event event) |
|
void |
Emitter.emit(Event event) |
Modifier and Type | Class | Description |
---|---|---|
class |
AliasEvent |
Marks the inclusion of a previously anchored node.
|
class |
CollectionEndEvent |
Base class for the end events of the collection nodes.
|
class |
CollectionStartEvent |
Base class for the start events of the collection nodes.
|
class |
DocumentEndEvent |
Marks the end of a document.
|
class |
DocumentStartEvent |
Marks the beginning of a document.
|
class |
MappingEndEvent |
Marks the end of a mapping node.
|
class |
MappingStartEvent |
Marks the beginning of a mapping node.
|
class |
NodeEvent |
Base class for all events that mark the beginning of a node.
|
class |
ScalarEvent |
Marks a scalar value.
|
class |
SequenceEndEvent |
Marks the end of a sequence.
|
class |
SequenceStartEvent |
Marks the beginning of a sequence node.
|
class |
StreamEndEvent |
Marks the end of a stream that might have contained multiple documents.
|
class |
StreamStartEvent |
Marks the start of a stream that might contain multiple documents.
|
Modifier and Type | Method | Description |
---|---|---|
Event |
Parser.getEvent() |
Returns the next event.
|
Event |
ParserImpl.getEvent() |
Get the next event and proceed further.
|
Event |
Parser.peekEvent() |
Return the next event, but do not delete it from the stream.
|
Event |
ParserImpl.peekEvent() |
Get the next event.
|
Copyright © 2008–2018. All rights reserved.