Skip to content

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

Class AbstractXmlProcessor

java.lang.Object
        io.github.qishr.cascara.lang.xml.processor.AbstractXmlProcessor

All Implemented Interfaces:
    Processor

Direct Known Subtypes:
    XmlAstParser, XmlTokenizer


public abstract class AbstractXmlProcessor

Field Summary

Modifier and Type Field Description
public static final ContentType XML_CONTENT_TYPE
protected XmlOptions options
protected Reporter reporter

Constructor Summary

Constructor Description
AbstractXmlProcessor()

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).

Field Details

XML_CONTENT_TYPE

public static final ContentType XML_CONTENT_TYPE


options

protected XmlOptions 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