A simple XML Stream Writer that leverages the StreamingMarkupWriter of Groovy
Modifiers | Name | Description |
---|---|---|
protected enum |
XMLStreamWriter.Mode |
Modifiers | Name | Description |
---|---|---|
protected JSONWriter.Mode |
mode |
|
protected java.util.Stack<java.lang.String> |
tagStack |
|
protected StreamingMarkupWriter |
writer |
Constructor and description |
---|
XMLStreamWriter
(StreamingMarkupWriter writer) |
Type Params | Return Type | Name 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() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |