org.apache.xmlgraphics.ps.dsc
public class DefaultNestedDocumentHandler extends java.lang.Object implements DSCParserConstants, NestedDocumentHandler
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE| Constructor and Description |
|---|
DefaultNestedDocumentHandler(PSGenerator gen)
Creates a new instance.
|
public DefaultNestedDocumentHandler(PSGenerator gen)
gen - PSGenerator to pass through the skipped contentpublic void handle(DSCEvent event, DSCParser parser) throws java.io.IOException, DSCException
NestedDocumentHandlerhandle in interface NestedDocumentHandlerevent - the DSC event to handleparser - the DSC parser to work withjava.io.IOException - In case of an I/O errorDSCException - In case of a violation of the DSC specNestedDocumentHandler.handle(org.apache.xmlgraphics.ps.dsc.events.DSCEvent, org.apache.xmlgraphics.ps.dsc.DSCParser)Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.