|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.pdf.content.CSInterpreter
public abstract class CSInterpreter
An abstrct superclass for implementing an interpreter for PDF content streams.
| Constructor Summary | |
|---|---|
CSInterpreter(Map paramOptions)
|
|
| Method Summary | |
|---|---|
ICSExceptionHandler |
getExceptionHandler()
The currently active ICSExceptionHandler for the interpreter. |
Map |
getOptions()
Transparent options used by the interpreter implementation. |
boolean |
isInterruptible()
|
void |
process(CSContent pContent,
PDResources pResources)
Process content using resources if needed. |
void |
setExceptionHandler(ICSExceptionHandler errorHandler)
Assign the ICSExceptionHandler for the interpreter. |
void |
setInterruptible(boolean interruptible)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CSInterpreter(Map paramOptions)
| Method Detail |
|---|
public ICSExceptionHandler getExceptionHandler()
ICSInterpreterICSExceptionHandler for the interpreter.
The ICSExceptionHandler is responsible for acting on the
CSException instances thrwoed while processing a
CSContent.
getExceptionHandler in interface ICSInterpreterICSExceptionHandler for the
interpreter.public Map getOptions()
ICSInterpreternull.
getOptions in interface ICSInterpreterpublic boolean isInterruptible()
public void process(CSContent pContent,
PDResources pResources)
throws CSException
ICSInterpretercontent using resources if needed.
This method may be called reentrant when a form XObject is encountered.
process in interface ICSInterpreterpContent - The PDF content stream to be interpreted.pResources - The PDResources repository for the content stream
CSExceptionpublic void setExceptionHandler(ICSExceptionHandler errorHandler)
ICSInterpreterICSExceptionHandler for the interpreter.
setExceptionHandler in interface ICSInterpretererrorHandler - The new ICSExceptionHandler.public void setInterruptible(boolean interruptible)
|
jPod PDF library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||