org.apache.geronimo.deployment.xbeans
Class GbeanDocument.Factory

java.lang.Object
  extended by org.apache.geronimo.deployment.xbeans.GbeanDocument.Factory
Enclosing interface:
GbeanDocument

public static final class GbeanDocument.Factory
extends Object

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


Method Summary
static GbeanDocument newInstance()
           
static GbeanDocument newInstance(org.apache.xmlbeans.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, org.apache.xmlbeans.XmlOptions options)
          Deprecated. XMLInputStream
static GbeanDocument parse(File file)
           
static GbeanDocument parse(File file, org.apache.xmlbeans.XmlOptions options)
           
static GbeanDocument parse(InputStream is)
           
static GbeanDocument parse(InputStream is, org.apache.xmlbeans.XmlOptions options)
           
static GbeanDocument parse(Node node)
           
static GbeanDocument parse(Node node, org.apache.xmlbeans.XmlOptions options)
           
static GbeanDocument parse(Reader r)
           
static GbeanDocument parse(Reader r, org.apache.xmlbeans.XmlOptions options)
           
static GbeanDocument parse(String xmlAsString)
           
static GbeanDocument parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options)
           
static GbeanDocument parse(URL u)
           
static GbeanDocument parse(URL u, org.apache.xmlbeans.XmlOptions options)
           
static GbeanDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
          Deprecated. XMLInputStream
static GbeanDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)
          Deprecated. XMLInputStream
static GbeanDocument parse(XMLStreamReader sr)
           
static GbeanDocument parse(XMLStreamReader sr, org.apache.xmlbeans.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 GbeanDocument newInstance()

newInstance

public static GbeanDocument newInstance(org.apache.xmlbeans.XmlOptions options)

parse

public static GbeanDocument parse(String xmlAsString)
                           throws org.apache.xmlbeans.XmlException
Parameters:
xmlAsString - the string value to parse
Throws:
org.apache.xmlbeans.XmlException

parse

public static GbeanDocument parse(String xmlAsString,
                                  org.apache.xmlbeans.XmlOptions options)
                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

public static GbeanDocument parse(File file)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Parameters:
file - the file from which to load an xml document
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(File file,
                                  org.apache.xmlbeans.XmlOptions options)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(URL u)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(URL u,
                                  org.apache.xmlbeans.XmlOptions options)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(InputStream is)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(InputStream is,
                                  org.apache.xmlbeans.XmlOptions options)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(Reader r)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(Reader r,
                                  org.apache.xmlbeans.XmlOptions options)
                           throws org.apache.xmlbeans.XmlException,
                                  IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

public static GbeanDocument parse(XMLStreamReader sr)
                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

public static GbeanDocument parse(XMLStreamReader sr,
                                  org.apache.xmlbeans.XmlOptions options)
                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

public static GbeanDocument parse(Node node)
                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

public static GbeanDocument parse(Node node,
                                  org.apache.xmlbeans.XmlOptions options)
                           throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

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

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

parse

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

Throws:
org.apache.xmlbeans.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 org.apache.xmlbeans.XmlException,
                                                                                        org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream

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

newValidatingXMLInputStream

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

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


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.