org.apache.axis2.util
Class XMLUtils

java.lang.Object
  extended byorg.apache.axis2.util.XMLUtils

public class XMLUtils
extends java.lang.Object

Some XML utility functions


Constructor Summary
XMLUtils()
           
 
Method Summary
static org.w3c.dom.Document newDocument()
          Get an empty new Document
static org.w3c.dom.Document newDocument(java.io.InputStream in)
          Method newDocument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtils

public XMLUtils()
Method Detail

newDocument

public static org.w3c.dom.Document newDocument()
                                        throws javax.xml.parsers.ParserConfigurationException
Get an empty new Document

Returns:
Document
Throws:
javax.xml.parsers.ParserConfigurationException - if construction problems occur

newDocument

public static org.w3c.dom.Document newDocument(java.io.InputStream in)
                                        throws javax.xml.parsers.ParserConfigurationException,
                                               org.xml.sax.SAXException,
                                               java.io.IOException
Method newDocument

Parameters:
in -
Returns:
Throws:
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException