org.boris.variant.util
Class XML

java.lang.Object
  extended by org.boris.variant.util.XML

public class XML
extends java.lang.Object


Constructor Summary
XML()
           
 
Method Summary
static org.w3c.dom.Document newDocument()
           
static org.w3c.dom.Document parse(java.io.InputStream is)
           
static org.w3c.dom.Document parse(java.io.Reader reader)
           
static org.w3c.dom.Document parse(java.lang.String s)
           
static java.lang.String toString(org.w3c.dom.Document doc)
           
static void toString(org.w3c.dom.Document doc, java.io.Writer w, boolean formatted)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XML

public XML()
Method Detail

parse

public static org.w3c.dom.Document parse(java.lang.String s)
                                  throws XMLException
Throws:
XMLException

parse

public static org.w3c.dom.Document parse(java.io.Reader reader)
                                  throws XMLException
Throws:
XMLException

parse

public static org.w3c.dom.Document parse(java.io.InputStream is)
                                  throws XMLException
Throws:
XMLException

toString

public static java.lang.String toString(org.w3c.dom.Document doc)
                                 throws XMLException
Throws:
XMLException

toString

public static void toString(org.w3c.dom.Document doc,
                            java.io.Writer w,
                            boolean formatted)
                     throws XMLException
Throws:
XMLException

newDocument

public static org.w3c.dom.Document newDocument()
                                        throws XMLException
Throws:
XMLException