net.opengis.ows.x11
Class MimeType.Factory

java.lang.Object
  extended by net.opengis.ows.x11.MimeType.Factory
Enclosing interface:
MimeType

public static final class MimeType.Factory
extends Object

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


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

newValue

public static MimeType newValue(Object obj)

newInstance

public static MimeType newInstance()

newInstance

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

parse

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

parse

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

parse

public static MimeType 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 MimeType parse(File file,
                             org.apache.xmlbeans.XmlOptions options)
                      throws org.apache.xmlbeans.XmlException,
                             IOException
Throws:
org.apache.xmlbeans.XmlException
IOException

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

public static MimeType 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 MimeType 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 © 2004-2012 52north.org. All Rights Reserved.