Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xmlgraphics.ps.dsc
Interface DSCListener

All Known Implementing Classes:
  DefaultNestedDocumentHandler, FilteringEventListener

    public interface DSCListener

Listener interface for the DSC parser. It can be used to be notified

Method Summary
`void` | `processEvent(DSCEvent event, DSCParser parser)` Called for each DSC event.

Method Detail

### processEvent

    void processEvent(DSCEvent event,
                      DSCParser parser)
                      throws IOException,
                             DSCException

  Called for each DSC event. You can call methods on the DSC parser to skip comments, for example. But implementations need to be good citizens and take into account that multiple listeners can be active at the same time and that they might interfere with other listeners. When returning from the call, state information such as filters should be restored.

  Parameters:
    `event` - the DSC event
    `parser` - the DSC parser
  Throws:
    `IOException` - if an I/O error occurs
    `DSCException` - if a DSC-specific error occurs

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| xmlgraphics-commons 2.0.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2015 The Apache Software Foundation. All Rights Reserved.