org.globus.wsrf.utils
Class XmlUtils

java.lang.Object
  |
  +--org.globus.wsrf.utils.XmlUtils

public class XmlUtils
extends Object


Constructor Summary
XmlUtils()
           
 
Method Summary
static Document newDocument()
          Get an empty new Document
static Document newDocument(InputSource inp)
           
static Document newDocument(InputStream inp)
           
static Document newDocument(String uri)
           
static Document newDocument(String uri, String username, String password)
          Create a new document from the given URI, use the username and password if the URI requires authentication.
static String toString(Document doc)
           
static String toString(Element element)
           
 
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 Document newDocument()
                            throws ParserConfigurationException
Get an empty new Document
Returns:
Document
Throws:
ParserConfigurationException - if construction problems occur

newDocument

public static Document newDocument(InputSource inp)
                            throws ParserConfigurationException,
                                   SAXException,
                                   IOException

newDocument

public static Document newDocument(InputStream inp)
                            throws ParserConfigurationException,
                                   SAXException,
                                   IOException

newDocument

public static Document newDocument(String uri)
                            throws ParserConfigurationException,
                                   SAXException,
                                   IOException

newDocument

public static Document newDocument(String uri,
                                   String username,
                                   String password)
                            throws ParserConfigurationException,
                                   SAXException,
                                   IOException
Create a new document from the given URI, use the username and password if the URI requires authentication.

toString

public static String toString(Document doc)

toString

public static String toString(Element element)


Copyright © 1999-2003 University of Chicago and The University of Southern California. All rights reserved.