| Modifier and Type | Field and Description |
|---|---|
| private final XMLStreamWriter |
| Access | Constructor and Description |
|---|---|
| public |
| streamWriter | back to summary |
|---|---|
| private final XMLStreamWriter streamWriter | |
| StaxStreamHandler | back to summary |
|---|---|
| public StaxStreamHandler(XMLStreamWriter streamWriter) | |
| cDataInternal | back to summary |
|---|---|
| protected void cDataInternal(String data) throws XMLStreamException Implements abstract org.
| |
| charactersInternal | back to summary |
|---|---|
| protected void charactersInternal(String data) throws XMLStreamException Implements abstract org.
| |
| commentInternal | back to summary |
|---|---|
| protected void commentInternal(String comment) throws XMLStreamException Implements abstract org.
| |
| dtdInternal | back to summary |
|---|---|
| protected void dtdInternal(String dtd) throws XMLStreamException Implements abstract org.
| |
| endDocumentInternal | back to summary |
|---|---|
| protected void endDocumentInternal() throws XMLStreamException Implements abstract org.
| |
| endElementInternal | back to summary |
|---|---|
| protected void endElementInternal(QName name, Map<String, String> namespaceMapping) throws XMLStreamException Implements abstract org.
| |
| endEntity | back to summary |
|---|---|
| public void endEntity(String name) throws SAXException Overrides org. Implements org. Doc from org. Report the end of an entity.
| |
| ignorableWhitespaceInternal | back to summary |
|---|---|
| protected void ignorableWhitespaceInternal(String data) throws XMLStreamException Implements abstract org.
| |
| processingInstructionInternal | back to summary |
|---|---|
| protected void processingInstructionInternal(String target, String data) throws XMLStreamException Implements abstract org.
| |
| setDocumentLocator | back to summary |
|---|---|
| public void setDocumentLocator(Locator locator) Implements org. Doc from org. Receive an object for locating the origin of SAX document events. SAX parsers are strongly encouraged (though not absolutely required) to supply a locator: if it does so, it must supply the locator to the application by invoking this method before invoking any of the other methods in the ContentHandler interface. The locator allows the application to determine the end position of any document-related event, even if the parser is not reporting an error. Typically, the application will use this information for reporting its own errors (such as character content that does not match an application's business rules). The information returned by the locator is probably not sufficient for use with a search engine. Note that the locator will return correct information only
during the invocation SAX event callbacks after
| |
| skippedEntityInternal | back to summary |
|---|---|
| protected void skippedEntityInternal(String name) throws XMLStreamException Implements abstract org.
| |
| startDocumentInternal | back to summary |
|---|---|
| protected void startDocumentInternal() throws XMLStreamException Implements abstract org.
| |
| startElementInternal | back to summary |
|---|---|
| protected void startElementInternal(QName name, Attributes attributes, Map<String, String> namespaceMapping) throws XMLStreamException Implements abstract org.
| |
| startEntity | back to summary |
|---|---|
| public void startEntity(String name) throws SAXException Overrides org. Implements org. Doc from org. Report the beginning of some internal and external XML entities. The reporting of parameter entities (including
the external DTD subset) is optional, and SAX2 drivers that
report LexicalHandler events may not implement it; you can use the
General entities are reported with their regular names, parameter entities have '%' prepended to their names, and the external DTD subset has the pseudo-entity name "[dtd]". When a SAX2 driver is providing these events, all other
events must be properly nested within start/end entity
events. There is no additional requirement that events from
Note that skipped entities will be reported through the
Because of the streaming event model that SAX uses, some entity boundaries cannot be reported under any circumstances:
These will be silently expanded, with no indication of where the original entity boundaries were. Note also that the boundaries of character references (which are not really entities anyway) are not reported. All start/endEntity events must be properly nested.
| |