Package io.github.qishr.cascara.lang.yaml.processor
Class YamlPullParser
java.lang.Object
io.github.qishr.cascara.lang.yaml.internal.AbstractYamlProcessor<io.github.qishr.cascara.lang.yaml.processor.YamlPullParser>
io.github.qishr.cascara.lang.yaml.internal.AbstractYamlParser<io.github.qishr.cascara.lang.yaml.processor.YamlPullParser>
io.github.qishr.cascara.lang.yaml.processor.YamlPullParser
All Implemented Interfaces:
PullParser<YamlStreamingEvent>
public class YamlPullParser
extends AbstractYamlParser<YamlPullParser>
Constructor Summary
| Constructor | Description |
|---|---|
| YamlPullParser() | Default constructor for SPI. |
| YamlPullParser(InputStream input) |
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| protected YamlPullParser | self() | |
| public boolean | hasNext() | |
| public YamlStreamingEvent | next() | |
| public void | close() | |
| protected void | handleEvent(YamlStreamingEvent event) |
Method Details
self
protected YamlPullParser self()
hasNext
public boolean hasNext()
Specified By:
next
public YamlStreamingEvent next()
Specified By:
close
public void close()
Throws:
handleEvent
protected void handleEvent(YamlStreamingEvent event)