A XMLStreamWriter dedicated to create indented/pretty printed output.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEFAULT_INDENT_STR |
|
static java.lang.String |
NEWLINE |
Fields inherited from class | Fields |
---|---|
class XMLStreamWriter |
mode, tagStack, writer |
Constructor and description |
---|
PrettyPrintXMLStreamWriter
(StreamingMarkupWriter writer) |
PrettyPrintXMLStreamWriter
(StreamingMarkupWriter writer, java.lang.String indent) |
Type Params | Return Type | Name and description |
---|---|---|
|
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 XMLStreamWriter |
attribute, characters, end, endStartTag, startDocument, startNode, startTag |
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() |