| org.apache.xmlgraphics.ps.dsc.NestedDocumentHandler
All known Subclasses: org.apache.xmlgraphics.ps.dsc.DefaultNestedDocumentHandler,
NestedDocumentHandler | public interface NestedDocumentHandler (Code) | | Interface that is used to delegate the handling of nested documents (EPS files, data sections)
in a PostScript document. The implementation receives a parser instance so it can step forward
until the end of the nested document is reached at which point control is given back to the
original consumer.
|
handle | void handle(DSCEvent event, DSCParser parser) throws IOException, DSCException(Code) | | Handle a DSC event. Implementations may issue additional calls to the DSC parser and may
modify its state. When returning from the call, state information such as filters should
be restored.
Parameters: event - the DSC event to handle Parameters: parser - the DSC parser to work with throws: IOException - In case of an I/O error throws: DSCException - In case of a violation of the DSC spec |
|
|