cgl.narada.mgmt.schemas.bsa
Class ResourceDocument.Factory

java.lang.Object
  extended by cgl.narada.mgmt.schemas.bsa.ResourceDocument.Factory
Enclosing interface:
ResourceDocument

public static final class ResourceDocument.Factory
extends Object

A factory class with static methods for creating instances of this type.


Method Summary
static ResourceDocument newInstance()
           
static ResourceDocument newInstance(XmlOptions options)
           
static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
          Deprecated. XMLInputStream
static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options)
          Deprecated. XMLInputStream
static ResourceDocument parse(File file)
           
static ResourceDocument parse(File file, XmlOptions options)
           
static ResourceDocument parse(InputStream is)
           
static ResourceDocument parse(InputStream is, XmlOptions options)
           
static ResourceDocument parse(Node node)
           
static ResourceDocument parse(Node node, XmlOptions options)
           
static ResourceDocument parse(Reader r)
           
static ResourceDocument parse(Reader r, XmlOptions options)
           
static ResourceDocument parse(String xmlAsString)
           
static ResourceDocument parse(String xmlAsString, XmlOptions options)
           
static ResourceDocument parse(URL u)
           
static ResourceDocument parse(URL u, XmlOptions options)
           
static ResourceDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
          Deprecated. XMLInputStream
static ResourceDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options)
          Deprecated. XMLInputStream
static ResourceDocument parse(javax.xml.stream.XMLStreamReader sr)
           
static ResourceDocument parse(javax.xml.stream.XMLStreamReader sr, XmlOptions options)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static ResourceDocument newInstance()

newInstance

public static ResourceDocument newInstance(XmlOptions options)

parse

public static ResourceDocument parse(String xmlAsString)
                              throws XmlException
Parameters:
xmlAsString - the string value to parse
Throws:
XmlException

parse

public static ResourceDocument parse(String xmlAsString,
                                     XmlOptions options)
                              throws XmlException
Throws:
XmlException

parse

public static ResourceDocument parse(File file)
                              throws XmlException,
                                     IOException
Parameters:
file - the file from which to load an xml document
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(File file,
                                     XmlOptions options)
                              throws XmlException,
                                     IOException
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(URL u)
                              throws XmlException,
                                     IOException
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(URL u,
                                     XmlOptions options)
                              throws XmlException,
                                     IOException
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(InputStream is)
                              throws XmlException,
                                     IOException
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(InputStream is,
                                     XmlOptions options)
                              throws XmlException,
                                     IOException
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(Reader r)
                              throws XmlException,
                                     IOException
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(Reader r,
                                     XmlOptions options)
                              throws XmlException,
                                     IOException
Throws:
XmlException
IOException

parse

public static ResourceDocument parse(javax.xml.stream.XMLStreamReader sr)
                              throws XmlException
Throws:
XmlException

parse

public static ResourceDocument parse(javax.xml.stream.XMLStreamReader sr,
                                     XmlOptions options)
                              throws XmlException
Throws:
XmlException

parse

public static ResourceDocument parse(Node node)
                              throws XmlException
Throws:
XmlException

parse

public static ResourceDocument parse(Node node,
                                     XmlOptions options)
                              throws XmlException
Throws:
XmlException

parse

public static ResourceDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
                              throws XmlException,
                                     org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException

parse

public static ResourceDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
                                     XmlOptions options)
                              throws XmlException,
                                     org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException

newValidatingXMLInputStream

public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
                                                                                 throws XmlException,
                                                                                        org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException

newValidatingXMLInputStream

public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
                                                                                        XmlOptions options)
                                                                                 throws XmlException,
                                                                                        org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
org.apache.xmlbeans.xml.stream.XMLStreamException


For comments and suggestions please send e-mail to The NaradaBrokering Project