org.globus.ogsa.utils
Class XmlFactory

java.lang.Object
  extended byorg.globus.ogsa.utils.XmlFactory

public class XmlFactory
extends java.lang.Object


Field Summary
protected static org.apache.commons.logging.Log log
           
 
Constructor Summary
XmlFactory()
           
 
Method Summary
static org.w3c.dom.Document newDocument()
          Get an empty new Document
static org.w3c.dom.Document newDocument(org.xml.sax.InputSource inp)
           
static org.w3c.dom.Document newDocument(java.io.InputStream inp)
           
static org.w3c.dom.Document newDocument(java.lang.String uri)
           
static org.w3c.dom.Document newDocument(java.lang.String uri, java.lang.String username, java.lang.String password)
          Create a new document from the given URI, use the username and password if the URI requires authentication.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

XmlFactory

public XmlFactory()
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(org.xml.sax.InputSource inp)
                                        throws GridServiceException
Throws:
GridServiceException

newDocument

public static org.w3c.dom.Document newDocument(java.io.InputStream inp)
                                        throws GridServiceException
Throws:
GridServiceException

newDocument

public static org.w3c.dom.Document newDocument(java.lang.String uri)
                                        throws GridServiceException
Throws:
GridServiceException

newDocument

public static org.w3c.dom.Document newDocument(java.lang.String uri,
                                               java.lang.String username,
                                               java.lang.String password)
                                        throws GridServiceException
Create a new document from the given URI, use the username and password if the URI requires authentication.

Throws:
GridServiceException


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.