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
All Known Implementing Classes:
Parser, AstConverter, Tokenizer, Serializer, PathEvaluator, Emitter, AbstractJsonProcessor, AbstractXmlProcessor, AbstractYamlProcessor
public interface Processor
Method Summary
| Modifier and Type | Method | Description |
|---|---|---|
| public abstract ContentType | getContentType() | |
| 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
getContentType
public abstract ContentType getContentType()
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).