public class EpublibXmlSerializer
extends SimpleXmlSerializer
Constructor and Description |
---|
EpublibXmlSerializer(CleanerProperties paramCleanerProperties,
String outputEncoding) |
Modifier and Type | Method and Description |
---|---|
protected String |
escapeXml(String xmlContent) |
protected void |
serializeOpenTag(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
|
public EpublibXmlSerializer(CleanerProperties paramCleanerProperties, String outputEncoding)
protected void serializeOpenTag(TagNode tagNode, Writer writer, boolean newLine) throws IOException
IOException
Copyright © 2009–2013. All rights reserved.