org.apache.incubator.uima.regex
Class AnnotationDocument.Factory

java.lang.Object
  extended by org.apache.incubator.uima.regex.AnnotationDocument.Factory
Enclosing interface:
AnnotationDocument

public static final class AnnotationDocument.Factory
extends java.lang.Object

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


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

newInstance

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

parse

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

parse

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

parse

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

parse

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

parse

public static AnnotationDocument parse(java.net.URL u)
                                throws org.apache.xmlbeans.XmlException,
                                       java.io.IOException
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException

parse

public static AnnotationDocument parse(java.net.URL u,
                                       org.apache.xmlbeans.XmlOptions options)
                                throws org.apache.xmlbeans.XmlException,
                                       java.io.IOException
Throws:
org.apache.xmlbeans.XmlException
java.io.IOException

parse

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

parse

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

parse

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

parse

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

parse

public static AnnotationDocument parse(javax.xml.stream.XMLStreamReader sr)
                                throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

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

parse

public static AnnotationDocument parse(org.w3c.dom.Node node)
                                throws org.apache.xmlbeans.XmlException
Throws:
org.apache.xmlbeans.XmlException

parse

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

parse

public static AnnotationDocument 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 AnnotationDocument 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 © 2011. All Rights Reserved.