public static final class ResourceDocument.Factory extends Object
public static ResourceDocument newInstance()
public static ResourceDocument newInstance(XmlOptions options)
public static ResourceDocument parse(String xmlAsString) throws XmlException
xmlAsString
- the string value to parseXmlException
public static ResourceDocument parse(String xmlAsString, XmlOptions options) throws XmlException
XmlException
public static ResourceDocument parse(File file) throws XmlException, IOException
file
- the file from which to load an xml documentXmlException
IOException
public static ResourceDocument parse(File file, XmlOptions options) throws XmlException, IOException
XmlException
IOException
public static ResourceDocument parse(URL u) throws XmlException, IOException
XmlException
IOException
public static ResourceDocument parse(URL u, XmlOptions options) throws XmlException, IOException
XmlException
IOException
public static ResourceDocument parse(InputStream is) throws XmlException, IOException
XmlException
IOException
public static ResourceDocument parse(InputStream is, XmlOptions options) throws XmlException, IOException
XmlException
IOException
public static ResourceDocument parse(Reader r) throws XmlException, IOException
XmlException
IOException
public static ResourceDocument parse(Reader r, XmlOptions options) throws XmlException, IOException
XmlException
IOException
public static ResourceDocument parse(XMLStreamReader sr) throws XmlException
XmlException
public static ResourceDocument parse(XMLStreamReader sr, XmlOptions options) throws XmlException
XmlException
public static ResourceDocument parse(Node node) throws XmlException
XmlException
public static ResourceDocument parse(Node node, XmlOptions options) throws XmlException
XmlException
@Deprecated public static ResourceDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream
@Deprecated public static ResourceDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream
@Deprecated public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream
@Deprecated public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, XmlOptions options) throws XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException
XMLInputStream