OLEObjectDocument.java 源代码


package schemasMicrosoftComOfficeOffice;

import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.net.URL;
import javax.xml.stream.XMLStreamReader;
import org.apache.xmlbeans.SchemaType;
import org.apache.xmlbeans.XmlBeans;
import org.apache.xmlbeans.XmlException;
import org.apache.xmlbeans.XmlObject;
import org.apache.xmlbeans.XmlOptions;
import org.apache.xmlbeans.xml.stream.XMLInputStream;
import org.apache.xmlbeans.xml.stream.XMLStreamException;
import org.w3c.dom.Node;

public interface OLEObjectDocument extends XmlObject {
    public static final SchemaType type = (SchemaType) XmlBeans.typeSystemForClassLoader(OLEObjectDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sE130CAA0A01A7CDE5A2B4FEB8B311707").resolveHandle("oleobjectbaccdoctype");

    public static final class Factory {
        private Factory() {
        }

        public static OLEObjectDocument newInstance() {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().newInstance(OLEObjectDocument.type, null);
        }

        public static OLEObjectDocument newInstance(XmlOptions xmlOptions) {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().newInstance(OLEObjectDocument.type, xmlOptions);
        }

        public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xMLInputStream) throws XmlException, XMLStreamException {
            return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream(xMLInputStream, OLEObjectDocument.type, null);
        }

        public static XMLInputStream newValidatingXMLInputStream(XMLInputStream xMLInputStream, XmlOptions xmlOptions) throws XmlException, XMLStreamException {
            return XmlBeans.getContextTypeLoader().newValidatingXMLInputStream(xMLInputStream, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(File file) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(file, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(File file, XmlOptions xmlOptions) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(file, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(InputStream inputStream) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(inputStream, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(InputStream inputStream, XmlOptions xmlOptions) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(inputStream, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(Reader reader) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(reader, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(Reader reader, XmlOptions xmlOptions) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(reader, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(String str) throws XmlException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(str, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(String str, XmlOptions xmlOptions) throws XmlException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(str, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(URL url) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(url, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(URL url, XmlOptions xmlOptions) throws XmlException, IOException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(url, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(XMLStreamReader xMLStreamReader) throws XmlException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(xMLStreamReader, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(XMLStreamReader xMLStreamReader, XmlOptions xmlOptions) throws XmlException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(xMLStreamReader, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(XMLInputStream xMLInputStream) throws XmlException, XMLStreamException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(xMLInputStream, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(XMLInputStream xMLInputStream, XmlOptions xmlOptions) throws XmlException, XMLStreamException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(xMLInputStream, OLEObjectDocument.type, xmlOptions);
        }

        public static OLEObjectDocument parse(Node node) throws XmlException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(node, OLEObjectDocument.type, (XmlOptions) null);
        }

        public static OLEObjectDocument parse(Node node, XmlOptions xmlOptions) throws XmlException {
            return (OLEObjectDocument) XmlBeans.getContextTypeLoader().parse(node, OLEObjectDocument.type, xmlOptions);
        }
    }

    CTOLEObject addNewOLEObject();

    CTOLEObject getOLEObject();

    void setOLEObject(CTOLEObject cTOLEObject);
}