HPSearch

cgl.hpsearch.schemas.wsa
Class ToDocument.Factory

java.lang.Object
  extended bycgl.hpsearch.schemas.wsa.ToDocument.Factory
Enclosing class:
ToDocument

public static final class ToDocument.Factory
extends Object

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


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

newInstance

public static ToDocument newInstance(XmlOptions options)

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

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

parse

public static ToDocument parse(XMLInputStream xis)
                        throws XmlException,
                               XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
XMLStreamException

parse

public static ToDocument parse(XMLInputStream xis,
                               XmlOptions options)
                        throws XmlException,
                               XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
XMLStreamException

newValidatingXMLInputStream

public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis)
                                                                                 throws XmlException,
                                                                                        XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
XMLStreamException

newValidatingXMLInputStream

public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xis,
                                                         XmlOptions options)
                                                                                 throws XmlException,
                                                                                        XMLStreamException
Deprecated. XMLInputStream

Throws:
XmlException
XMLStreamException

HPSearch

For comments and suggestions please send e-mail to Harshawardhan Gadgil
Last updated: June 9 2006