public class EpublibXmlSerializer
extends org.htmlcleaner.SimpleXmlSerializer
Constructor and Description |
---|
EpublibXmlSerializer(org.htmlcleaner.CleanerProperties paramCleanerProperties,
String outputEncoding) |
Modifier and Type | Method and Description |
---|---|
protected String |
escapeXml(String xmlContent) |
protected void |
serializeOpenTag(org.htmlcleaner.TagNode tagNode,
Writer writer,
boolean newLine)
Differs from the super.serializeOpenTag in that it:
skips the xmlns:xml="xml" attribute
if the tagNode is a meta tag setting the contentType then it sets the encoding to the actual encoding
|
dontEscape, getXmlAsString, getXmlAsString, isMinimizedTagSyntax, serializeEndTag, writeXml, writeXmlToFile, writeXmlToFile, writeXmlToStream, writeXmlToStream
public EpublibXmlSerializer(org.htmlcleaner.CleanerProperties paramCleanerProperties, String outputEncoding)
protected String escapeXml(String xmlContent)
escapeXml
in class org.htmlcleaner.XmlSerializer
protected void serializeOpenTag(org.htmlcleaner.TagNode tagNode, Writer writer, boolean newLine) throws IOException
serializeOpenTag
in class org.htmlcleaner.XmlSerializer
IOException
Copyright © 2009–2017. All rights reserved.