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
Node s 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 |
ParserImpl.next()
Get the next event and proceed further.
|
Event |
Parser.next()
Returns the next event.
|
Event |
ParserImpl.peekEvent()
Get the next event.
|
Event |
Parser.peekEvent()
Return the next event, but do not delete it from the stream.
|
Copyright © 2019 Hazelcast, Inc.. All rights reserved.