Class SimpleXmlNodeWriter
java.lang.Object
gw.xml.simple.SimpleXmlNodeWriter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate voidappendChildren(SimpleXmlNode node) private voidprivate voidappendNode(SimpleXmlNode node) private StringcreateXml(SimpleXmlNode node) private voidprivate voidstatic StringwriteToString(SimpleXmlNode node) private static StringProperly encodes user input for inclusion in an XML document.
-
Field Details
-
_sb
-
_indent
private int _indent
-
-
Constructor Details
-
SimpleXmlNodeWriter
private SimpleXmlNodeWriter()
-
-
Method Details
-
writeToString
-
createXml
-
appendNode
-
appendAttributes
-
appendChildren
-
pushIndent
private void pushIndent() -
popIndent
private void popIndent() -
appendIndent
private void appendIndent() -
xmlEncode
-