All Packages Class Hierarchy This Package Previous Next Index
Class ninja.xset.XMLHelper
java.lang.Object
|
+----ninja.xset.XMLHelper
- public class XMLHelper
- extends Object
-
XMLHelper()
-
-
DocumentToString(Document)
- from a w3c document, generate the XML text (e.g., to output to
a file)
-
GetDocument(Reader)
- return a w3c Document of the parsed XML
-
GetDocument(String)
- return a w3c Document of the parsed XML
-
GetElement(Reader)
- return a w3c Element of the parsed XML
-
GetElement(String)
- return a w3c Element of the parsed XML
-
main(String[])
-
-
PrintDocument(Document, PrintWriter)
- print a w3c xml document to a stream
-
PrintDocument(Node, PrintWriter, String)
-
-
PrintSubtree(Node, PrintWriter)
- print a w3c xml subtree to a stream
-
SubtreeToString(Node)
- from a w3c document, generate the XML text (e.g., to output to
a file)
XMLHelper
public XMLHelper()
GetDocument
public static Document GetDocument(Reader xml)
- return a w3c Document of the parsed XML
GetDocument
public static Document GetDocument(String xml)
- return a w3c Document of the parsed XML
GetElement
public static Element GetElement(Reader xml)
- return a w3c Element of the parsed XML
GetElement
public static Element GetElement(String xml)
- return a w3c Element of the parsed XML
PrintDocument
public static void PrintDocument(Node node,
PrintWriter writer,
String indent) throws DOMException
PrintSubtree
public static void PrintSubtree(Node n,
PrintWriter writer) throws DOMException
- print a w3c xml subtree to a stream
SubtreeToString
public static String SubtreeToString(Node n)
- from a w3c document, generate the XML text (e.g., to output to
a file)
PrintDocument
public static void PrintDocument(Document doc,
PrintWriter writer) throws DOMException
- print a w3c xml document to a stream
DocumentToString
public static String DocumentToString(Document doc)
- from a w3c document, generate the XML text (e.g., to output to
a file)
main
public static void main(String argv[])
All Packages Class Hierarchy This Package Previous Next Index