|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.htmlcleaner.Serializer
org.htmlcleaner.XmlSerializer
public abstract class XmlSerializer
Abstract XML serializer - contains common logic for descendants.
Field Summary |
---|
Fields inherited from class org.htmlcleaner.Serializer |
---|
props |
Constructor Summary | |
---|---|
protected |
XmlSerializer(CleanerProperties props)
|
Method Summary | |
---|---|
protected boolean |
dontEscape(TagNode tagNode)
|
protected String |
escapeXml(String xmlContent)
|
String |
getXmlAsString(TagNode tagNode)
Deprecated. Use getAsString() instead. |
String |
getXmlAsString(TagNode tagNode,
String charset)
Deprecated. Use getAsString() instead. |
protected boolean |
isMinimizedTagSyntax(TagNode tagNode)
|
protected void |
serializeEndTag(TagNode tagNode,
Writer writer,
boolean newLine)
|
protected void |
serializeOpenTag(TagNode tagNode,
Writer writer,
boolean newLine)
|
void |
writeXml(TagNode tagNode,
Writer writer,
String charset)
Deprecated. Use write() instead. |
void |
writeXmlToFile(TagNode tagNode,
String fileName)
Deprecated. Use writeToFile() instead. |
void |
writeXmlToFile(TagNode tagNode,
String fileName,
String charset)
Deprecated. Use writeToFile() instead. |
void |
writeXmlToStream(TagNode tagNode,
OutputStream out)
Deprecated. Use writeToStream() instead. |
void |
writeXmlToStream(TagNode tagNode,
OutputStream out,
String charset)
Deprecated. Use writeToStream() instead. |
Methods inherited from class org.htmlcleaner.Serializer |
---|
getAsString, getAsString, getAsString, getAsString, isScriptOrStyle, serialize, 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 |
Constructor Detail |
---|
protected XmlSerializer(CleanerProperties props)
Method Detail |
---|
@Deprecated public void writeXmlToStream(TagNode tagNode, OutputStream out, String charset) throws IOException
IOException
@Deprecated public void writeXmlToStream(TagNode tagNode, OutputStream out) throws IOException
IOException
@Deprecated public void writeXmlToFile(TagNode tagNode, String fileName, String charset) throws IOException
IOException
@Deprecated public void writeXmlToFile(TagNode tagNode, String fileName) throws IOException
IOException
@Deprecated public String getXmlAsString(TagNode tagNode, String charset) throws IOException
IOException
@Deprecated public String getXmlAsString(TagNode tagNode) throws IOException
IOException
@Deprecated public void writeXml(TagNode tagNode, Writer writer, String charset) throws IOException
IOException
protected String escapeXml(String xmlContent)
protected boolean dontEscape(TagNode tagNode)
protected boolean isMinimizedTagSyntax(TagNode tagNode)
protected void serializeOpenTag(TagNode tagNode, Writer writer, boolean newLine) throws IOException
IOException
protected void serializeEndTag(TagNode tagNode, Writer writer, boolean newLine) throws IOException
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |