XmlOutput that writes to StAX XMLEventWriter.
| Modifier and Type | Field and Description |
|---|---|
| private final XMLEventFactory | |
| private final XMLEventWriter | |
| private final Characters | sp
One whitespace. |
| Access | Constructor and Description |
|---|---|
| public |
| ef | back to summary |
|---|---|
| private final XMLEventFactory ef | |
| out | back to summary |
|---|---|
| private final XMLEventWriter out | |
| sp | back to summary |
|---|---|
| private final Characters sp One whitespace. | |
| XMLEventWriterOutput | back to summary |
|---|---|
| public XMLEventWriterOutput(XMLEventWriter out) | |
| attribute | back to summary |
|---|---|
| public void attribute(int prefix, String localName, String value) throws IOException, XMLStreamException Implements abstract org. Implements org.
| |
| beginStartTag | back to summary |
|---|---|
| public void beginStartTag(int prefix, String localName) throws IOException, XMLStreamException Implements abstract org. Implements org.
| |
| endDocument | back to summary |
|---|---|
| public void endDocument(boolean fragment) throws IOException, SAXException, XMLStreamException Overrides org. Implements org. Doc from org. Called at the very end.
| |
| endStartTag | back to summary |
|---|---|
| public void endStartTag() throws IOException, SAXException Implements abstract org. Implements org.
| |
| endTag | back to summary |
|---|---|
| public void endTag(int prefix, String localName) throws IOException, SAXException, XMLStreamException Implements abstract org. Implements org.
| |
| startDocument | back to summary |
|---|---|
| public void startDocument(XMLSerializer serializer, boolean fragment, int[] nsUriIndex2prefixIndex, NamespaceContextImpl nsContext) throws IOException, SAXException, XMLStreamException Overrides org. Implements org. Doc from org. Called at the very beginning.
| |
| text | back to summary |
|---|---|
| public void text(String value, boolean needsSeparatingWhitespace) 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 needsSeparatingWhitespace) throws IOException, SAXException, XMLStreamException Implements org. Doc from org. Writes XML text with character escaping, if necessary.
| |