|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pdfbox.util.operator.OperatorProcessor
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
Field Summary | |
protected PDFStreamEngine |
context
The stream engine processing context. |
Constructor Summary | |
protected |
OperatorProcessor()
Constructor. |
Method Summary | |
protected PDFStreamEngine |
getContext()
Get the context for processing. |
abstract void |
process(PDFOperator operator,
List arguments)
process the operator. |
void |
setContext(PDFStreamEngine ctx)
Set the processing context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected PDFStreamEngine context
Constructor Detail |
protected OperatorProcessor()
Method Detail |
protected PDFStreamEngine getContext()
public void setContext(PDFStreamEngine ctx)
ctx
- The context for processing.public abstract void process(PDFOperator operator, List 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.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |