| Package | Description | 
|---|---|
| org.yaml.snakeyaml | |
| org.yaml.snakeyaml.comments | |
| org.yaml.snakeyaml.emitter | |
| org.yaml.snakeyaml.events | |
| org.yaml.snakeyaml.parser | 
| Modifier and Type | Method and 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 and Description | 
|---|---|
| Event | CommentEventsCollector. collectEvents(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and
 continuing with the top event on the event source. | 
| Event | CommentEventsCollector. collectEventsAndPoll(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and
 continuing with the top event on the event source. | 
| Modifier and Type | Method and Description | 
|---|---|
| Event | CommentEventsCollector. collectEvents(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and
 continuing with the top event on the event source. | 
| Event | CommentEventsCollector. collectEventsAndPoll(Event event)Collect all events of the expected type (set during construction) starting with event provided as an argument and
 continuing with the top event on the event source. | 
| Constructor and Description | 
|---|
| CommentEventsCollector(Queue<Event> eventSource,
                      CommentType... expectedCommentTypes)Constructor used to collect events emitted by the Serializer. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Emitter. emit(Event event) | 
| void | Emitable. emit(Event event) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AliasEventMarks the inclusion of a previously anchored node. | 
| class  | CollectionEndEventBase class for the end events of the collection nodes. | 
| class  | CollectionStartEventBase class for the start events of the collection nodes. | 
| class  | CommentEventMarks a comment block value. | 
| class  | DocumentEndEventMarks the end of a document. | 
| class  | DocumentStartEventMarks the beginning of a document. | 
| class  | MappingEndEventMarks the end of a mapping node. | 
| class  | MappingStartEventMarks the beginning of a mapping node. | 
| class  | NodeEventBase class for all events that mark the beginning of a node. | 
| class  | ScalarEventMarks a scalar value. | 
| class  | SequenceEndEventMarks the end of a sequence. | 
| class  | SequenceStartEventMarks the beginning of a sequence node. | 
| class  | StreamEndEventMarks the end of a stream that might have contained multiple documents. | 
| class  | StreamStartEventMarks the start of a stream that might contain multiple documents. | 
| Modifier and Type | Method and 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–2021. All rights reserved.