public abstract class AbstractXMLBeautyfierFormatter extends Object implements XMLBeautifierFormatter
| Modifier and Type | Field and Description |
|---|---|
protected int |
indent |
protected Writer |
writer |
| Constructor and Description |
|---|
AbstractXMLBeautyfierFormatter(Writer writer,
int indent) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeEmptyTag() |
void |
closeTag() |
void |
decrementIndentBy(int value) |
void |
incrementIndentBy(int value) |
void |
indent() |
void |
setIndent(int indent) |
void |
setWriter(Writer writer) |
void |
writeText(String text) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseTag, printNewLine, startTag, writeAttribute, writeComment, writeNamespaceAttribute, writeTag, writeVersionAndEncodingprotected Writer writer
protected int indent
public AbstractXMLBeautyfierFormatter(Writer writer, int indent)
public void indent()
throws IOException
indent in interface XMLBeautifierFormatterIOExceptionpublic void setIndent(int indent)
setIndent in interface XMLBeautifierFormatterpublic void setWriter(Writer writer)
setWriter in interface XMLBeautifierFormatterpublic void incrementIndentBy(int value)
incrementIndentBy in interface XMLBeautifierFormatterpublic void decrementIndentBy(int value)
decrementIndentBy in interface XMLBeautifierFormatterpublic void writeText(String text) throws IOException
writeText in interface XMLBeautifierFormatterIOExceptionpublic void closeEmptyTag()
throws IOException
closeEmptyTag in interface XMLBeautifierFormatterIOExceptionpublic void closeTag()
throws IOException
closeTag in interface XMLBeautifierFormatterIOExceptionCopyright © 2015. All rights reserved.