Package org.htmlcleaner
Class CompactXmlSerializer
- java.lang.Object
-
- org.htmlcleaner.Serializer
-
- org.htmlcleaner.XmlSerializer
-
- org.htmlcleaner.CompactXmlSerializer
-
public class CompactXmlSerializer extends XmlSerializer
Compact XML serializer - creates resulting XML by stripping whitespaces.
-
-
Field Summary
-
Fields inherited from class org.htmlcleaner.Serializer
props
-
-
Constructor Summary
Constructors Constructor Description CompactXmlSerializer(CleanerProperties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
serialize(TagNode tagNode, java.io.Writer writer)
-
Methods inherited from class org.htmlcleaner.XmlSerializer
dontEscape, escapeXml, getXmlAsString, getXmlAsString, isMinimizedTagSyntax, serializeEndTag, serializeOpenTag, writeXml, writeXmlToFile, writeXmlToFile, writeXmlToStream, writeXmlToStream
-
Methods inherited from class org.htmlcleaner.Serializer
getAsString, getAsString, getAsString, getAsString, isScriptOrStyle, write, write, writeToFile, writeToFile, writeToFile, writeToFile, writeToStream, writeToStream, writeToStream, writeToStream
-
-
-
-
Constructor Detail
-
CompactXmlSerializer
public CompactXmlSerializer(CleanerProperties props)
-
-
Method Detail
-
serialize
protected void serialize(TagNode tagNode, java.io.Writer writer) throws java.io.IOException
- Specified by:
serialize
in classSerializer
- Throws:
java.io.IOException
-
-