public class DefaultHtmlSerializer extends Object implements HtmlSerializer
| Constructor and Description |
|---|
DefaultHtmlSerializer() |
| Modifier and Type | Method and Description |
|---|---|
String |
serialize(Document doc) |
void |
serialize(Node n,
Appendable output) |
protected void |
writeComment(Node n,
Appendable output) |
protected void |
writeText(Node n,
Appendable output) |
public String serialize(Document doc)
serialize in interface HtmlSerializerpublic void serialize(Node n, Appendable output) throws IOException
IOExceptionprotected void writeText(Node n, Appendable output) throws IOException
IOExceptionprotected void writeComment(Node n, Appendable output) throws IOException
IOExceptionCopyright © 2007-2012. All Rights Reserved.