public class HTMLFormatter extends Object
| Constructor and Description |
|---|
HTMLFormatter() |
| Modifier and Type | Method and Description |
|---|---|
HTMLFormatter |
writeAttribute(Appendable output,
String name,
String value) |
HTMLFormatter |
writeCloseAttribute(Appendable output) |
HTMLFormatter |
writeCloseElementBeginTag(Appendable output) |
HTMLFormatter |
writeCloseElementVoidTag(Appendable output) |
HTMLFormatter |
writeComment(Appendable output,
String value) |
HTMLFormatter |
writeDocType(Appendable output,
String value) |
HTMLFormatter |
writeElementEndTag(Appendable output,
String tagName) |
HTMLFormatter |
writeLiteral(Appendable output,
String value) |
HTMLFormatter |
writeLiteral(Appendable output,
String value,
boolean encodeNonASCII) |
HTMLFormatter |
writeOpenAttribute(Appendable output,
String name) |
HTMLFormatter |
writeOpenElementBeginTag(Appendable output,
String tagName) |
public HTMLFormatter writeComment(Appendable output, String value) throws IOException
IOExceptionpublic HTMLFormatter writeDocType(Appendable output, String value) throws IOException
IOExceptionpublic HTMLFormatter writeOpenElementBeginTag(Appendable output, String tagName) throws IOException
IOExceptionpublic HTMLFormatter writeOpenAttribute(Appendable output, String name) throws IOException
IOExceptionpublic HTMLFormatter writeCloseAttribute(Appendable output) throws IOException
IOExceptionpublic HTMLFormatter writeAttribute(Appendable output, String name, String value) throws IOException
IOExceptionpublic HTMLFormatter writeCloseElementBeginTag(Appendable output) throws IOException
IOExceptionpublic HTMLFormatter writeCloseElementVoidTag(Appendable output) throws IOException
IOExceptionpublic HTMLFormatter writeElementEndTag(Appendable output, String tagName) throws IOException
IOExceptionpublic HTMLFormatter writeLiteral(Appendable output, String value) throws IOException
IOExceptionpublic HTMLFormatter writeLiteral(Appendable output, String value, boolean encodeNonASCII) throws IOException
IOExceptionCopyright © 2014. All rights reserved.