org.htmlcleaner
Class CompactHtmlSerializer
java.lang.Object
org.htmlcleaner.Serializer
org.htmlcleaner.HtmlSerializer
org.htmlcleaner.CompactHtmlSerializer
public class CompactHtmlSerializer
- extends HtmlSerializer
Compact HTML serializer - creates resulting HTML by stripping whitespaces wherever possible.
Methods inherited from class org.htmlcleaner.Serializer |
getAsString, getAsString, getAsString, getAsString, getAsString, isScriptOrStyle, write, write, writeToFile, writeToFile, writeToFile, writeToFile, writeToStream, writeToStream, writeToStream, writeToStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompactHtmlSerializer
public CompactHtmlSerializer(CleanerProperties props)
serialize
protected void serialize(TagNode tagNode,
Writer writer)
throws IOException
- Specified by:
serialize
in class Serializer
- Throws:
IOException
Copyright © 2006-2014. All Rights Reserved.