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.StAXReaderToContentHandler
XMLStreamException
protected void handleEndDocument() throws SAXException
SAXException
protected void handleStartDocument() throws SAXException
SAXException
protected void handlePI() throws XMLStreamException
XMLStreamException
protected void handleCharacters() throws XMLStreamException
XMLStreamException
protected void handleEndElement() throws XMLStreamException
XMLStreamException
protected void handleStartElement() throws XMLStreamException
XMLStreamException
protected Attributes getAttributes()
protected void handleNamespace()
protected void handleAttribute()
protected void handleDTD()
protected void handleComment() throws XMLStreamException
XMLStreamException
protected void handleEntityReference()
protected void handleSpace()
protected void handleNotationDecl()
protected void handleEntityDecl()
protected void handleCDATA() throws XMLStreamException
XMLStreamException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.