Skip to content

Package io.github.qishr.cascara.lang.yaml.processor

Class YamlPullParser

java.lang.Object
        io.github.qishr.cascara.lang.yaml.processor.AbstractYamlProcessor<io.github.qishr.cascara.lang.yaml.processor.YamlPullParser>
                io.github.qishr.cascara.lang.yaml.processor.YamlPullParser

All Implemented Interfaces:
    PullParser


public class YamlPullParser
extends AbstractYamlProcessor<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 StreamingEvent next()
public void close()

Methods inherited from AbstractYamlProcessor

setReporter, getOptions, getContentType, getServiceProperties, getVersion, getReporter, setOptions

Method Details

self

protected YamlPullParser self()

Overrides:

AbstractYamlProcessor


hasNext

public boolean hasNext()

Specified By:

PullParser


next

public StreamingEvent next()

Specified By:

PullParser


close

public void close()

Throws:

Exception