public class XMLStreamReaderToContentHandler extends Object implements javanet.staxutils.StAXReaderToContentHandler
XMLStreamReader to SAX events on a
ContentHandler, bridging between the two parser technologies.| Constructor and Description |
|---|
XMLStreamReaderToContentHandler(XMLStreamReader staxCore,
javanet.staxutils.helpers.XMLFilterImplEx filter)
Construct a new StAX to SAX adapter that will convert a StAX event stream into
a SAX event stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bridge() |
protected Attributes |
getAttributes()
Get the attributes associated with the given START_ELEMENT or ATTRIBUTE
StAXevent.
|
protected void |
handleAttribute() |
protected void |
handleCDATA() |
protected void |
handleCharacters() |
protected void |
handleComment() |
protected void |
handleDTD() |
protected void |
handleEndDocument() |
protected void |
handleEndElement() |
protected void |
handleEntityDecl() |
protected void |
handleEntityReference() |
protected void |
handleNamespace() |
protected void |
handleNotationDecl() |
protected void |
handlePI() |
protected void |
handleSpace() |
protected void |
handleStartDocument() |
protected void |
handleStartElement() |
public XMLStreamReaderToContentHandler(XMLStreamReader staxCore, javanet.staxutils.helpers.XMLFilterImplEx filter)
staxCore - StAX event sourcefilter - SAX event sinkpublic void bridge()
throws XMLStreamException
bridge in interface javanet.staxutils.StAXReaderToContentHandlerXMLStreamExceptionprotected void handleEndDocument()
throws SAXException
SAXExceptionprotected void handleStartDocument()
throws SAXException
SAXExceptionprotected void handlePI()
throws XMLStreamException
XMLStreamExceptionprotected void handleCharacters()
throws XMLStreamException
XMLStreamExceptionprotected void handleEndElement()
throws XMLStreamException
XMLStreamExceptionprotected void handleStartElement()
throws XMLStreamException
XMLStreamExceptionprotected Attributes getAttributes()
protected void handleNamespace()
protected void handleAttribute()
protected void handleDTD()
protected void handleComment()
throws XMLStreamException
XMLStreamExceptionprotected void handleEntityReference()
protected void handleSpace()
protected void handleNotationDecl()
protected void handleEntityDecl()
protected void handleCDATA()
throws XMLStreamException
XMLStreamExceptionCopyright © 2003–2016 MuleSoft, Inc.. All rights reserved.