All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ninja.xset.XMLHelper

java.lang.Object
   |
   +----ninja.xset.XMLHelper

public class XMLHelper
extends Object

Constructor Index

 o XMLHelper()

Method Index

 o DocumentToString(Document)
from a w3c document, generate the XML text (e.g., to output to a file)
 o GetDocument(Reader)
return a w3c Document of the parsed XML
 o GetDocument(String)
return a w3c Document of the parsed XML
 o GetElement(Reader)
return a w3c Element of the parsed XML
 o GetElement(String)
return a w3c Element of the parsed XML
 o main(String[])
 o PrintDocument(Document, PrintWriter)
print a w3c xml document to a stream
 o PrintDocument(Node, PrintWriter, String)
 o PrintSubtree(Node, PrintWriter)
print a w3c xml subtree to a stream
 o SubtreeToString(Node)
from a w3c document, generate the XML text (e.g., to output to a file)

Constructors

 o XMLHelper
 public XMLHelper()

Methods

 o GetDocument
 public static Document GetDocument(Reader xml)
return a w3c Document of the parsed XML

 o GetDocument
 public static Document GetDocument(String xml)
return a w3c Document of the parsed XML

 o GetElement
 public static Element GetElement(Reader xml)
return a w3c Element of the parsed XML

 o GetElement
 public static Element GetElement(String xml)
return a w3c Element of the parsed XML

 o PrintDocument
 public static void PrintDocument(Node node,
                                  PrintWriter writer,
                                  String indent) throws DOMException
 o PrintSubtree
 public static void PrintSubtree(Node n,
                                 PrintWriter writer) throws DOMException
print a w3c xml subtree to a stream

 o SubtreeToString
 public static String SubtreeToString(Node n)
from a w3c document, generate the XML text (e.g., to output to a file)

 o PrintDocument
 public static void PrintDocument(Document doc,
                                  PrintWriter writer) throws DOMException
print a w3c xml document to a stream

 o DocumentToString
 public static String DocumentToString(Document doc)
from a w3c document, generate the XML text (e.g., to output to a file)

 o main
 public static void main(String argv[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index