public class XmlUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.StringBuffer |
escape(java.lang.StringBuffer sb)
Convert the 5 special characters <>'"& to entities wherever they occur in
the given text.
|
static void |
outputDocument(java.io.PrintWriter out,
org.w3c.dom.Document doc)
Use a dummy XSLT transform to output a DOM document.
|
public static java.lang.StringBuffer escape(java.lang.StringBuffer sb)
public static void outputDocument(java.io.PrintWriter out, org.w3c.dom.Document doc)