public class XMLStreamWriter
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
XMLStreamWriter.Mode |
| Modifier and Type | Field and Description |
|---|---|
protected XMLStreamWriter.Mode |
mode |
protected java.util.Stack<java.lang.String> |
tagStack |
protected groovy.xml.streamingmarkupsupport.StreamingMarkupWriter |
writer |
| Constructor and Description |
|---|
XMLStreamWriter(groovy.xml.streamingmarkupsupport.StreamingMarkupWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
XMLStreamWriter |
attribute(java.lang.String name,
java.lang.String value) |
XMLStreamWriter |
characters(java.lang.String data) |
XMLStreamWriter |
end() |
protected void |
endStartTag() |
XMLStreamWriter |
startDocument(java.lang.String encoding,
java.lang.String version) |
XMLStreamWriter |
startNode(java.lang.String tag) |
protected void |
startTag() |
protected groovy.xml.streamingmarkupsupport.StreamingMarkupWriter writer
protected XMLStreamWriter.Mode mode
protected java.util.Stack<java.lang.String> tagStack
public XMLStreamWriter(groovy.xml.streamingmarkupsupport.StreamingMarkupWriter writer)
public XMLStreamWriter startDocument(java.lang.String encoding, java.lang.String version) throws java.io.IOException
java.io.IOExceptionprotected void startTag()
throws java.io.IOException
java.io.IOExceptionpublic XMLStreamWriter startNode(java.lang.String tag) throws java.io.IOException
java.io.IOExceptionpublic XMLStreamWriter end() throws java.io.IOException
java.io.IOExceptionpublic XMLStreamWriter attribute(java.lang.String name, java.lang.String value) throws java.io.IOException
java.io.IOExceptionprotected void endStartTag()
throws java.io.IOException
java.io.IOExceptionpublic XMLStreamWriter characters(java.lang.String data) throws java.io.IOException
java.io.IOException