Package org.xwiki.xml.stax
Class SAXEventWriter
- java.lang.Object
-
- javanet.staxutils.BaseXMLEventWriter
-
- org.xwiki.xml.stax.SAXEventWriter
-
- All Implemented Interfaces:
XMLEventConsumer
,XMLEventWriter
public class SAXEventWriter extends javanet.staxutils.BaseXMLEventWriter
Receive and convert StAX events to SAX events.Extends
XMLEventConsumer
withXMLEventWriter
methods.- Since:
- 5.2M1
- Version:
- $Id: 46951b1671279840414c9ef11c3eb5fb5970f295 $
-
-
Constructor Summary
Constructors Constructor Description SAXEventWriter(ContentHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
sendEvent(XMLEvent event)
-
-
-
Constructor Detail
-
SAXEventWriter
public SAXEventWriter(ContentHandler handler)
- Parameters:
handler
- the content handler
-
-
Method Detail
-
sendEvent
protected void sendEvent(XMLEvent event) throws XMLStreamException
- Specified by:
sendEvent
in classjavanet.staxutils.BaseXMLEventWriter
- Throws:
XMLStreamException
-
-