public class PlainBeautifierFormatter extends AbstractXMLBeautyfierFormatter
indent, writer| Constructor and Description |
|---|
PlainBeautifierFormatter(Writer writer,
int indent) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeTag(String prefix,
String localName) |
void |
printNewLine() |
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 |
writeVersionAndEncoding(String version,
String encoding) |
closeEmptyTag, closeTag, decrementIndentBy, incrementIndentBy, indent, setIndent, setWriter, writeTextpublic PlainBeautifierFormatter(Writer writer, int indent)
public void writeTag(String prefix, String localName) throws IOException
IOExceptionpublic void writeNamespaceAttribute(String prefix, String nsUri) throws IOException
IOExceptionpublic void writeAttribute(String prefix, String localName, String value) throws IOException
IOExceptionpublic void writeComment(String text) throws IOException
IOExceptionpublic void printNewLine()
throws IOException
IOExceptionpublic void startTag()
throws IOException
IOExceptionpublic void writeVersionAndEncoding(String version, String encoding) throws IOException
IOExceptionpublic void closeTag(String prefix, String localName) throws IOException
IOExceptionCopyright © 2015. All rights reserved.