Events.
The parser and the scanner form together the 'Parse' step in the loading process (see chapter 3.1 of the YAML Specification).
org.yaml.snakeyaml.events.Event
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the next event can be assigned to a variable of the given type.
Returns false if no more events are available.Event ID. choiceCheck if the next event is one of the given type. |
| public Event | |
| public Event |
| checkEvent | back to summary |
|---|---|
| public boolean checkEvent(Event. Check if the next event is one of the given type.
| |
| getEvent | back to summary |
|---|---|
| public Event getEvent() Returns the next event. The event will be removed from the stream.
| |
| peekEvent | back to summary |
|---|---|
| public Event peekEvent() Return the next event, but do not delete it from the stream.
| |