sk.baka.ikslibs.sax
Class SAXProcessorFilter
java.lang.Object
sk.baka.ikslibs.sax.ContentHandlerDelegate
sk.baka.ikslibs.sax.SAXEventTypeFilter
sk.baka.ikslibs.sax.SAXProcessorFilter
- All Implemented Interfaces:
- ContentHandler
public class SAXProcessorFilter
- extends SAXEventTypeFilter
Processes SAX events.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXProcessorFilter
public SAXProcessorFilter(ContentHandler sink,
XMLSerializeBean serializeBean)
- Creates instance of the filter.
- Parameters:
sink
- receives events.serializeBean
- Events are modified according these settings.
getSuppressedEvents
public static EnumSet<SAXEventKindEnum> getSuppressedEvents(XMLSerializeBean serializeBean)
- Returns set of event kinds that are suppressed by the configuration bean.
- Parameters:
serializeBean
- the bean
- Returns:
- all events that are directly suppressed by the bean. The CDATA
kind will never be present in the result regardless of the
XMLSerializeBean.isCdataSections()
setting.
Copyright © 2006 Martin Vysny - baka. All Rights Reserved.