Skip to content

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

Interface Processor

java.lang.Object
        io.github.qishr.cascara.common.lang.processor.Processor

All Implemented Interfaces:
    ServiceProvider, ContentTypeProvider

All Known Implementing Classes:
    PullParser, AstConverter, Tokenizer, AstParser, PushParser, Serializer, PathEvaluator, Emitter, AbstractJsonProcessor, AbstractXmlProcessor, AbstractYamlProcessor


public interface Processor

Method Summary

Modifier and Type Method Description
public abstract Processor setReporter(Reporter reporter) Sets the reporter for communicating warnings or errors.
public abstract Processor setOptions(LanguageOptions<?> options) Sets the language-specific options (e.g., indentation, Unicode support).

Method Details

setReporter

public abstract Processor setReporter(Reporter reporter)

Sets the reporter for communicating warnings or errors.


setOptions

public abstract Processor setOptions(LanguageOptions<?> options)

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