java.lang.Object
org.xbib.content.xml.stream.SaxEventConsumer
- All Implemented Interfaces:
XMLEventConsumer
- Direct Known Subclasses:
SaxEventWriter
Receive and convert StAX events to SAX events.
It's a modification of the code from XMLEventReaderToContentHandler that can be used as
XMLEventConsumer since SAX result is not supported by standard XMLOutputFactory.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SaxEventConsumer
- Parameters:
handler- the content handler
-
-
Method Details
-
add
- Specified by:
addin interfaceXMLEventConsumer- Throws:
XMLStreamException
-