public interface XMLBeautifierFormatter
| Modifier and Type | Method and Description |
|---|---|
void |
closeEmptyTag() |
void |
closeTag() |
void |
closeTag(String prefix,
String localName) |
void |
decrementIndentBy(int value) |
void |
incrementIndentBy(int value) |
void |
indent() |
void |
printNewLine() |
void |
setIndent(int indent) |
void |
setWriter(Writer writer) |
void |
startTag() |
void |
writeAttribute(String prefix,
String localName,
String value) |
void |
writeComment(String text) |
void |
writeNamespaceAttribute(String prefix,
String nsUri) |
void |
writeTag(String prefix,
String localName) |
void |
writeText(String text) |
void |
writeVersionAndEncoding(String version,
String encoding) |
void setIndent(int indent)
void setWriter(Writer writer)
void indent()
throws IOException
IOExceptionvoid closeTag()
throws IOException
IOExceptionvoid startTag()
throws IOException
IOExceptionvoid closeEmptyTag()
throws IOException
IOExceptionvoid incrementIndentBy(int value)
void decrementIndentBy(int value)
void writeNamespaceAttribute(String prefix, String nsUri) throws IOException
IOExceptionvoid writeComment(String text) throws IOException
IOExceptionvoid printNewLine()
throws IOException
IOExceptionvoid writeVersionAndEncoding(String version, String encoding) throws IOException
IOExceptionvoid writeAttribute(String prefix, String localName, String value) throws IOException
IOExceptionvoid writeText(String text) throws IOException
IOExceptionvoid writeTag(String prefix, String localName) throws IOException
IOExceptionvoid closeTag(String prefix, String localName) throws IOException
IOExceptionCopyright © 2015. All rights reserved.