|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xmlgraphics.ps.dsc.FilteringEventListener
implementation that filters certain DSC events.
| Constructor Summary | |
FilteringEventListener(DSCFilter filter)
Main constructor. |
|
| Method Summary | |
void |
processEvent(DSCEvent event,
DSCParser parser)
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilteringEventListener(DSCFilter filter)
filter - the filter| Method Detail |
public void processEvent(DSCEvent event,
DSCParser parser)
throws java.io.IOException,
DSCException
processEvent in interface DSCListenerevent - the DSC eventparser - the DSC parser
DSCException - if a DSC-specific error occurs
java.io.IOException - if an I/O error occurs
|
xmlgraphics-commons 1.4 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||