| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private XMLStreamWriter |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| needToCallStartDocument | back to summary |
|---|---|
| private boolean needToCallStartDocument | |
| writer | back to summary |
|---|---|
| private XMLStreamWriter writer | |
| SAX2StAXStreamWriter | back to summary |
|---|---|
| public SAX2StAXStreamWriter() | |
| SAX2StAXStreamWriter | back to summary |
|---|---|
| public SAX2StAXStreamWriter(XMLStreamWriter writer) | |
| characters | back to summary |
|---|---|
| public void characters(char[] ch, int start, int length) throws SAXException Overrides com. Implements org. Doc from org. Receive notification of character data inside an element. By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).
| |
| comment | back to summary |
|---|---|
| public void comment(char[] ch, int start, int length) throws SAXException Overrides com. Implements org. Doc from org. Report an XML comment anywhere in the document. This callback will be used for comments inside or outside the document element, including comments in the external DTD subset (if read). Comments in the DTD must be properly nested inside start/endDTD and start/endEntity events (if used).
| |
| endCDATA | back to summary |
|---|---|
| public void endCDATA() throws SAXException Overrides com. Implements org. Doc from org. Report the end of a CDATA section.
| |
| endDocument | back to summary |
|---|---|
| public void endDocument() throws SAXException Overrides com. Implements org. Doc from org. Receive notification of the end of the document. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of a document (such as finalising a tree or closing an output file).
| |
| endElement | back to summary |
|---|---|
| public void endElement(String uri, String localName, String qName) throws SAXException Overrides com. Implements org. Doc from org. Receive notification of the end of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).
| |
| getStreamWriter | back to summary |
|---|---|
| public XMLStreamWriter getStreamWriter() | |
| ignorableWhitespace | back to summary |
|---|---|
| public void ignorableWhitespace(char[] ch, int start, int length) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of ignorable whitespace in element content. By default, do nothing. Application writers may override this method to take specific actions for each chunk of ignorable whitespace (such as adding data to a node or buffer, or printing it to a file).
| |
| processingInstruction | back to summary |
|---|---|
| public void processingInstruction(String target, String data) throws SAXException Overrides org. Implements org. Doc from org. Receive notification of a processing instruction. By default, do nothing. Application writers may override this method in a subclass to take specific actions for each processing instruction, such as setting status variables or invoking other methods.
| |
| setStreamWriter | back to summary |
|---|---|
| public void setStreamWriter(XMLStreamWriter writer) | |
| startDocument | back to summary |
|---|---|
| public void startDocument() throws SAXException Overrides com. Implements org. Doc from org. Receive notification of the beginning of the document. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the beginning of a document (such as allocating the root node of a tree or creating an output file).
| |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException Overrides com. Implements org. Doc from org. Receive notification of the start of an element. By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).
| |
| writeStartDocument | back to summary |
|---|---|
| pack-priv void writeStartDocument() throws SAXException Overrides com. | |