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.BaseXMLEventWriterReceive and convert StAX events to SAX events.Extends
XMLEventConsumerwithXMLEventWritermethods.- 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 voidsendEvent(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:
sendEventin classjavanet.staxutils.BaseXMLEventWriter- Throws:
XMLStreamException
-
-