| Package | Description |
|---|---|
| org.snakeyaml.engine.v2.api.lowlevel | |
| org.snakeyaml.engine.v2.emitter | |
| org.snakeyaml.engine.v2.events | |
| org.snakeyaml.engine.v2.parser |
| Modifier and Type | Method and Description |
|---|---|
Iterable<Event> |
Parse.parseInputStream(InputStream yaml)
Parse a YAML stream and produce parsing events.
|
Iterable<Event> |
Parse.parseReader(Reader yaml)
Parse a YAML stream and produce parsing events.
|
Iterable<Event> |
Parse.parseString(String yaml)
Parse a YAML stream and produce parsing events.
|
List<Event> |
Serialize.serializeAll(List<Node> nodes)
Serialize
Nodes and produce events. |
List<Event> |
Serialize.serializeOne(Node node)
Serialize a
Node and produce events. |
| Modifier and Type | Method and Description |
|---|---|
String |
Present.emitToString(Iterator<Event> events) |
| Modifier and Type | Method and Description |
|---|---|
void |
Emitter.emit(Event event) |
void |
Emitable.emit(Event event) |
| Modifier and Type | Class and 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 and Description |
|---|---|
Event |
Parser.next()
Returns the next event.
|
Event |
ParserImpl.next()
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 © 2018–2019. All rights reserved.