Skip to content

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

Class AbstractYamlProcessor

java.lang.Object
        io.github.qishr.cascara.lang.yaml.processor.AbstractYamlProcessor

All Implemented Interfaces:
    Processor

Direct Known Subtypes:
    YamlEmitter, YamlPushParser, YamlPullParser, YamlConverter, YamlTokenizer, YamlAstParser


public abstract class AbstractYamlProcessor

Field Summary

Modifier and Type Field Description
protected YamlOptions options
protected Reporter reporter

Constructor Summary

Constructor Description
AbstractYamlProcessor()

Method Summary

Modifier and Type Method Description
protected abstract P self()
public Properties getServiceProperties()
public ContentType getContentType()
public P setReporter(Reporter reporter) Sets the reporter for communicating warnings or errors.
public P setOptions(LanguageOptions<?> options) Sets the language-specific options (e.g., indentation, Unicode support).
public YamlOptions getOptions()
public Reporter getReporter()
public SemVer getVersion()

Field Details

options

protected YamlOptions options


reporter

protected Reporter reporter


Method Details

self

protected abstract P self()


getServiceProperties

public Properties getServiceProperties()


getContentType

public ContentType getContentType()


setReporter

public P setReporter(Reporter reporter)

Sets the reporter for communicating warnings or errors.

Specified By:

Processor


setOptions

public P setOptions(LanguageOptions<?> options)

Sets the language-specific options (e.g., indentation, Unicode support).

Specified By:

Processor


getOptions

public YamlOptions getOptions()


getReporter

public Reporter getReporter()


getVersion

public SemVer getVersion()