edu.indiana.extreme.lead.metadata
Class MetdDocument.Factory

java.lang.Object
  extended by edu.indiana.extreme.lead.metadata.MetdDocument.Factory
Enclosing interface:
MetdDocument

public static final class MetdDocument.Factory
extends Object

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


Method Summary
static MetdDocument newInstance()
           
static MetdDocument 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 MetdDocument parse(File file)
           
static MetdDocument parse(File file, org.apache.xmlbeans.XmlOptions options)
           
static MetdDocument parse(InputStream is)
           
static MetdDocument parse(InputStream is, org.apache.xmlbeans.XmlOptions options)
           
static MetdDocument parse(Node node)
           
static MetdDocument parse(Node node, org.apache.xmlbeans.XmlOptions options)
           
static MetdDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis)
          Deprecated. XMLInputStream
static MetdDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options)
          Deprecated. XMLInputStream
static MetdDocument parse(Reader r)
           
static MetdDocument parse(Reader r, org.apache.xmlbeans.XmlOptions options)
           
static MetdDocument parse(String xmlAsString)
           
static MetdDocument parse(String xmlAsString, org.apache.xmlbeans.XmlOptions options)
           
static MetdDocument parse(URL u)
           
static MetdDocument parse(URL u, org.apache.xmlbeans.XmlOptions options)
           
static MetdDocument parse(javax.xml.stream.XMLStreamReader sr)
           
static MetdDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static MetdDocument newInstance()

newInstance

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

public static MetdDocument parse(javax.xml.stream.XMLStreamReader sr,
                                 org.apache.xmlbeans.XmlOptions options)
                          throws XmlException
Throws:
XmlException

parse

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

parse

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

parse

public static MetdDocument 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 MetdDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis,
                                 org.apache.xmlbeans.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,
                                                                                        org.apache.xmlbeans.XmlOptions options)
                                                                                 throws XmlException,
                                                                                        org.apache.xmlbeans.xml.stream.XMLStreamException
Deprecated. XMLInputStream

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


Copyright (c) 2007 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.