Package org.htmlcleaner
Class SimpleXmlSerializer
- java.lang.Object
-
- org.htmlcleaner.Serializer
-
- org.htmlcleaner.XmlSerializer
-
- org.htmlcleaner.SimpleXmlSerializer
-
public class SimpleXmlSerializer extends XmlSerializer
Simple XML serializer - creates resulting XML without indenting lines.
-
-
Field Summary
-
Fields inherited from class org.htmlcleaner.Serializer
props
-
-
Constructor Summary
Constructors Constructor Description SimpleXmlSerializer(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
-
SimpleXmlSerializer
public SimpleXmlSerializer(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
-
-