Package org.apache.xmlgraphics.ps.dsc
Interface NestedDocumentHandler
- All Known Implementing Classes:
DefaultNestedDocumentHandler
public interface NestedDocumentHandler
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.
It is suggested to use the more generally usable DSCListener
instead. This
interface may be deprecated in the future.
-
Method Summary
-
Method Details
-
handle
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 handleparser
- the DSC parser to work with- Throws:
IOException
- In case of an I/O errorDSCException
- In case of a violation of the DSC spec
-