public abstract class OperatorProcessor extends 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,
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, List<COSBase> arguments) throws IOException
operator
- The operator that is being processed.arguments
- arguments needed by this operator.IOException
- If there is an error processing the operator.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.