XmlOutput implementation that writes to SAX ContentHandler.
| Modifier and Type | Field and Description |
|---|---|
| private final AttributesImpl | |
| private char[] | |
| private String | |
| private String | |
| private String | |
| protected final ContentHandler |
| Access | Constructor and Description |
|---|---|
| public |
| atts | back to summary |
|---|---|
| private final AttributesImpl atts | |
| buf | back to summary |
|---|---|
| private char[] buf | |
| elementLocalName | back to summary |
|---|---|
| private String elementLocalName | |
| elementNsUri | back to summary |
|---|---|
| private String elementNsUri | |
| elementQName | back to summary |
|---|---|
| private String elementQName | |
| out | back to summary |
|---|---|
| protected final ContentHandler out | |
| SAXOutput | back to summary |
|---|---|
| public SAXOutput(ContentHandler out) | |
| attribute | back to summary |
|---|---|
| public void attribute(int prefix, String localName, String value) Implements abstract org. Implements org.
| |
| beginStartTag | back to summary |
|---|---|
| public void beginStartTag(int prefix, String localName) Implements abstract org. Implements org.
| |
| endDocument | back to summary |
|---|---|
| public void endDocument(boolean fragment) throws SAXException, IOException, XMLStreamException Overrides org. Implements org. Doc from org. Called at the very end.
| |
| endStartTag | back to summary |
|---|---|
| public void endStartTag() throws SAXException Implements abstract org. Implements org.
| |
| endTag | back to summary |
|---|---|
| public void endTag(int prefix, String localName) throws SAXException Implements abstract org. Implements org.
| |
| getQName | back to summary |
|---|---|
| private String getQName(int prefix, String localName) | |
| startDocument | back to summary |
|---|---|
| public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws SAXException, IOException, XMLStreamException Overrides org. Implements org. Doc from org. Called at the very beginning.
| |
| text | back to summary |
|---|---|
| public void text(String value, boolean needsSP) throws IOException, SAXException, XMLStreamException Implements org. Doc from org. Writes XML text with character escaping, if necessary.
| |
| text | back to summary |
|---|---|
| public void text(Pcdata value, boolean needsSP) throws IOException, SAXException, XMLStreamException Implements org. Doc from org. Writes XML text with character escaping, if necessary.
| |