|
intarsys PDF library API | |||||||||
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. |
void |
process(CSContent pContent,
PDResources pResources)
Process content using resources if needed. |
void |
setExceptionHandler(ICSExceptionHandler errorHandler)
Assign the ICSExceptionHandler for the interpreter. |
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()
ICSInterpreter
ICSExceptionHandler
for the interpreter.
The ICSExceptionHandler
is responsible for acting on the
CSException
instances thrwoed while processing a
CSContent
.
getExceptionHandler
in interface ICSInterpreter
ICSExceptionHandler
for the
interpreter.public Map getOptions()
ICSInterpreter
null
.
getOptions
in interface ICSInterpreter
public void process(CSContent pContent, PDResources pResources) throws CSException
ICSInterpreter
content
using resources
if needed.
This method may be called reentrant when a form XObject is encountered.
process
in interface ICSInterpreter
pContent
- The PDF content stream to be interpreted.pResources
- The PDResources
repository for the content stream
CSException
public void setExceptionHandler(ICSExceptionHandler errorHandler)
ICSInterpreter
ICSExceptionHandler
for the interpreter.
setExceptionHandler
in interface ICSInterpreter
errorHandler
- The new ICSExceptionHandler
.
|
intarsys PDF library API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |