public abstract class OperatorProcessor
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected PDFStreamEngine |
context
The stream engine processing context.
|
| Modifier | Constructor and Description |
|---|---|
protected |
OperatorProcessor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected PDFStreamEngine |
getContext()
Get the context for processing.
|
abstract void |
process(PDFOperator operator,
java.util.List<COSBase> arguments)
process the operator.
|
void |
setContext(PDFStreamEngine ctx)
Set the processing context.
|
protected PDFStreamEngine context
protected PDFStreamEngine getContext()
public void setContext(PDFStreamEngine ctx)
ctx - The context for processing.public abstract void process(PDFOperator operator, java.util.List<COSBase> arguments) throws java.io.IOException
operator - The operator that is being processed.arguments - arguments needed by this operator.java.io.IOException - If there is an error processing the operator.