public abstract class CSInterpreter extends Object implements ICSInterpreter
| Constructor and Description |
|---|
CSInterpreter(Map paramOptions) |
| Modifier and Type | Method and Description |
|---|---|
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) |
public CSInterpreter(Map paramOptions)
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 streamCSExceptionpublic void setExceptionHandler(ICSExceptionHandler errorHandler)
ICSInterpreterICSExceptionHandler for the interpreter.setExceptionHandler in interface ICSInterpretererrorHandler - The new ICSExceptionHandler.public void setInterruptible(boolean interruptible)
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.