Package | Description |
---|---|
org.yaml.snakeyaml | |
org.yaml.snakeyaml.emitter | |
org.yaml.snakeyaml.events | |
org.yaml.snakeyaml.parser |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Event> |
Yaml.SilentEmitter.events |
private java.util.Iterator<Event> |
Yaml.EventIterable.iterator |
Modifier and Type | Method and Description |
---|---|
java.util.List<Event> |
Yaml.SilentEmitter.getEvents() |
java.util.Iterator<Event> |
Yaml.EventIterable.iterator() |
java.lang.Iterable<Event> |
Yaml.parse(java.io.Reader yaml)
Parse a YAML stream and produce parsing events.
|
java.util.List<Event> |
Yaml.serialize(Node data)
Serialize the representation tree into Events.
|
Modifier and Type | Method and Description |
---|---|
void |
Yaml.SilentEmitter.emit(Event event) |
Constructor and Description |
---|
EventIterable(java.util.Iterator<Event> iterator) |
Modifier and Type | Field and Description |
---|---|
private Event |
Emitter.event |
Modifier and Type | Field and Description |
---|---|
private java.util.Queue<Event> |
Emitter.events |
Modifier and Type | Method and Description |
---|---|
void |
Emitable.emit(Event event) |
void |
Emitter.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 | Field and Description |
---|---|
private Event |
ParserImpl.currentEvent |
Modifier and Type | Method and Description |
---|---|
Event |
Parser.getEvent()
Returns the next event.
|
Event |
ParserImpl.getEvent()
Get the next event and proceed further.
|
private Event |
ParserImpl.parseBlockNodeOrIndentlessSequence() |
private Event |
ParserImpl.parseFlowNode() |
private Event |
ParserImpl.parseNode(boolean block,
boolean indentlessSequence) |
Event |
Parser.peekEvent()
Return the next event, but do not delete it from the stream.
|
Event |
ParserImpl.peekEvent()
Get the next event.
|
private Event |
ParserImpl.processEmptyScalar(Mark mark)
block_mapping ::= BLOCK-MAPPING_START
((KEY block_node_or_indentless_sequence?)?
(VALUE block_node_or_indentless_sequence?)?)*
BLOCK-END
|
Event |
Production.produce() |
Event |
ParserImpl.ParseStreamStart.produce() |
Event |
ParserImpl.ParseImplicitDocumentStart.produce() |
Event |
ParserImpl.ParseDocumentStart.produce() |
Event |
ParserImpl.ParseDocumentEnd.produce() |
Event |
ParserImpl.ParseDocumentContent.produce() |
Event |
ParserImpl.ParseBlockNode.produce() |
Event |
ParserImpl.ParseBlockSequenceFirstEntry.produce() |
Event |
ParserImpl.ParseBlockSequenceEntry.produce() |
Event |
ParserImpl.ParseIndentlessSequenceEntry.produce() |
Event |
ParserImpl.ParseBlockMappingFirstKey.produce() |
Event |
ParserImpl.ParseBlockMappingKey.produce() |
Event |
ParserImpl.ParseBlockMappingValue.produce() |
Event |
ParserImpl.ParseFlowSequenceFirstEntry.produce() |
Event |
ParserImpl.ParseFlowSequenceEntry.produce() |
Event |
ParserImpl.ParseFlowSequenceEntryMappingKey.produce() |
Event |
ParserImpl.ParseFlowSequenceEntryMappingValue.produce() |
Event |
ParserImpl.ParseFlowSequenceEntryMappingEnd.produce() |
Event |
ParserImpl.ParseFlowMappingFirstKey.produce() |
Event |
ParserImpl.ParseFlowMappingKey.produce() |
Event |
ParserImpl.ParseFlowMappingValue.produce() |
Event |
ParserImpl.ParseFlowMappingEmptyValue.produce() |