org.pdfbox.util.operator
Class OperatorProcessor
java.lang.Object
org.pdfbox.util.operator.OperatorProcessor
public abstract class OperatorProcessor
extends java.lang.Object
Titre : OperatorProcessor
Description : This class is the strategy abstract class
in the strategy GOF pattern. After instancated, you must ever call
the setContext method to initiamise OPeratorProcessor
Copyright : Copyright (c) 2004
Société : DBGS
context
protected PDFStreamEngine context
The stream engine processing context.
OperatorProcessor
protected OperatorProcessor()
Constructor.
getContext
protected PDFStreamEngine getContext()
Get the context for processing.
process
public abstract void process(PDFOperator operator,
List arguments)
throws IOException
process the operator.
operator
- The operator that is being processed.arguments
- arguments needed by this operator.
setContext
public void setContext(PDFStreamEngine ctx)
Set the processing context.
ctx
- The context for processing.