org.xwiki.xml.stax
Class SAXEventWriter

java.lang.Object
  extended by javanet.staxutils.BaseXMLEventWriter
      extended by 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 SAXEventConsumer with XMLEventWriter methods.

Since:
5.2M1
Version:
$Id: ae652819961dd39a1b5800c9cd0f8bbf21fb9ab4 $

Field Summary
 
Fields inherited from class javanet.staxutils.BaseXMLEventWriter
attrBuff, closed, factory, lastStart, nsBuff, nsStack
 
Constructor Summary
SAXEventWriter(ContentHandler handler)
           
 
Method Summary
protected  void sendEvent(XMLEvent event)
           
 
Methods inherited from class javanet.staxutils.BaseXMLEventWriter
add, add, cacheAttribute, cacheNamespace, close, flush, getNamespaceContext, getPrefix, peekNamespaceStack, popNamespaceStack, pushNamespaceStack, setDefaultNamespace, setNamespaceContext, setPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 class javanet.staxutils.BaseXMLEventWriter
Throws:
XMLStreamException


Copyright © 2004-2013 XWiki. All Rights Reserved.