XMLReader that reads from a StAX XMLStreamReader. Reads from an
XMLStreamReader, and calls the corresponding methods on the SAX callback interfaces.
XMLStreamReader, setContentHandler(org.xml.sax.ContentHandler) , setDTDHandler(org.xml.sax.DTDHandler) , setEntityResolver(org.xml.sax.EntityResolver) , setErrorHandler(org.xml.sax.ErrorHandler)
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private String | |
| private final XMLStreamReader | |
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | StaxStreamXMLReader(XMLStreamReader
the reader)XMLEventReader to read fromConstruct a new instance of the |
| Modifier and Type | Method and Description |
|---|---|
| private Attributes | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| protected void | parseInternal()
Implements abstract org. Template method that parses the StAX reader passed at construction-time. |
| DEFAULT_XML_VERSION | back to summary |
|---|---|
| private static final String DEFAULT_XML_VERSION | |
| encoding | back to summary |
|---|---|
| private String encoding
| |
| reader | back to summary |
|---|---|
| private final XMLStreamReader reader | |
| xmlVersion | back to summary |
|---|---|
| private String xmlVersion | |
| StaxStreamXMLReader | back to summary |
|---|---|
| pack-priv StaxStreamXMLReader(XMLStreamReader reader) Construct a new instance of the
| |
| getAttributes | back to summary |
|---|---|
| private Attributes getAttributes() | |
| handleCharacters | back to summary |
|---|---|
| private void handleCharacters() throws SAXException | |
| handleComment | back to summary |
|---|---|
| private void handleComment() throws SAXException | |
| handleDtd | back to summary |
|---|---|
| private void handleDtd() throws SAXException | |
| handleEndDocument | back to summary |
|---|---|
| private void handleEndDocument() throws SAXException | |
| handleEndElement | back to summary |
|---|---|
| private void handleEndElement() throws SAXException | |
| handleEntityReference | back to summary |
|---|---|
| private void handleEntityReference() throws SAXException | |
| handleProcessingInstruction | back to summary |
|---|---|
| private void handleProcessingInstruction() throws SAXException | |
| handleStartDocument | back to summary |
|---|---|
| private void handleStartDocument() throws SAXException | |
| handleStartElement | back to summary |
|---|---|
| private void handleStartElement() throws SAXException | |
| parseInternal | back to summary |
|---|---|
| protected void parseInternal() throws SAXException, XMLStreamException Implements abstract org. Doc from org. Template method that parses the StAX reader passed at construction-time.
| |