|
xmlgraphics-commons 1.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.ps.dsc.DefaultNestedDocumentHandler
public class DefaultNestedDocumentHandler
Default implementation of the NestedDocumentHandler interface which automatically skips data between Begin/EndDocument and Begin/EndData.
Field Summary |
---|
Fields inherited from interface org.apache.xmlgraphics.ps.dsc.DSCParserConstants |
---|
COMMENT, DSC_COMMENT, EOF, HEADER_COMMENT, LINE |
Constructor Summary | |
---|---|
DefaultNestedDocumentHandler(PSGenerator gen)
Creates a new instance. |
Method Summary | |
---|---|
void |
handle(DSCEvent event,
DSCParser parser)
Handle a DSC event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultNestedDocumentHandler(PSGenerator gen)
gen
- PSGenerator to pass through the skipped contentMethod Detail |
---|
public void handle(DSCEvent event, DSCParser parser) throws java.io.IOException, DSCException
NestedDocumentHandler
handle
in interface NestedDocumentHandler
event
- the DSC event to handleparser
- the DSC parser to work with
java.io.IOException
- In case of an I/O error
DSCException
- In case of a violation of the DSC specNestedDocumentHandler.handle(org.apache.xmlgraphics.ps.dsc.events.DSCEvent, org.apache.xmlgraphics.ps.dsc.DSCParser)
|
xmlgraphics-commons 1.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |