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