public class CompactHtmlSerializer extends HtmlSerializer
Compact HTML serializer - creates resulting HTML by stripping whitespaces wherever possible.
props
Constructor and Description |
---|
CompactHtmlSerializer(CleanerProperties props) |
Modifier and Type | Method and Description |
---|---|
protected void |
serialize(TagNode tagNode,
Writer writer) |
dontEscape, escapeText, isMinimizedTagSyntax, serializeEndTag, serializeOpenTag
getAsString, getAsString, getAsString, getAsString, isScriptOrStyle, write, write, writeToFile, writeToFile, writeToFile, writeToFile, writeToStream, writeToStream, writeToStream, writeToStream
public CompactHtmlSerializer(CleanerProperties props)
protected void serialize(TagNode tagNode, Writer writer) throws IOException
serialize
in class Serializer
IOException
Copyright © 2006–2013. All rights reserved.