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(javax.xml.stream.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(javax.xml.stream.XMLStreamReader staxCore,
javanet.staxutils.helpers.XMLFilterImplEx filter)
staxCore - StAX event sourcefilter - SAX event sinkpublic void bridge()
throws javax.xml.stream.XMLStreamException
bridge in interface javanet.staxutils.StAXReaderToContentHandlerjavax.xml.stream.XMLStreamExceptionprotected void handleEndDocument()
throws SAXException
SAXExceptionprotected void handleStartDocument()
throws SAXException
SAXExceptionprotected void handlePI()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void handleCharacters()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void handleEndElement()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void handleStartElement()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected Attributes getAttributes()
protected void handleNamespace()
protected void handleAttribute()
protected void handleDTD()
protected void handleComment()
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamExceptionprotected void handleEntityReference()
protected void handleSpace()
protected void handleNotationDecl()
protected void handleEntityDecl()
protected void handleCDATA()
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.