001    /*
002     * An XML document type.
003     * Localname: definitions
004     * Namespace: http://schemas.xmlsoap.org/wsdl/
005     * Java type: org.apache.geronimo.xbeans.wsdl.DefinitionsDocument
006     *
007     * Automatically generated - do not modify.
008     */
009    package org.apache.geronimo.xbeans.wsdl;
010    
011    
012    /**
013     * A document containing one definitions(@http://schemas.xmlsoap.org/wsdl/) element.
014     *
015     * This is a complex type.
016     */
017    public interface DefinitionsDocument extends org.apache.xmlbeans.XmlObject
018    {
019        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sDD32E5A2898F33527024818ADE537D3B.TypeSystemHolder.typeSystem.resolveHandle("definitions0a7fdoctype");
020        
021        /**
022         * Gets the "definitions" element
023         */
024        org.apache.geronimo.xbeans.wsdl.TDefinitions getDefinitions();
025        
026        /**
027         * Sets the "definitions" element
028         */
029        void setDefinitions(org.apache.geronimo.xbeans.wsdl.TDefinitions definitions);
030        
031        /**
032         * Appends and returns a new empty "definitions" element
033         */
034        org.apache.geronimo.xbeans.wsdl.TDefinitions addNewDefinitions();
035        
036        /**
037         * A factory class with static methods for creating instances
038         * of this type.
039         */
040        
041        public static final class Factory
042        {
043            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument newInstance() {
044              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
045            
046            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
047              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
048            
049            /** @param xmlAsString the string value to parse */
050            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
051              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
052            
053            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
054              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
055            
056            /** @param file the file from which to load an xml document */
057            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
058              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
059            
060            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
061              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
062            
063            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
064              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
065            
066            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
067              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
068            
069            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
070              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
071            
072            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
073              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
074            
075            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
076              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
077            
078            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
079              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
080            
081            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
082              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
083            
084            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
085              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
086            
087            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
088              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
089            
090            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
091              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
092            
093            /** @deprecated {@link XMLInputStream} */
094            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
095              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
096            
097            /** @deprecated {@link XMLInputStream} */
098            public static org.apache.geronimo.xbeans.wsdl.DefinitionsDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
099              return (org.apache.geronimo.xbeans.wsdl.DefinitionsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
100            
101            /** @deprecated {@link XMLInputStream} */
102            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 {
103              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
104            
105            /** @deprecated {@link XMLInputStream} */
106            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 {
107              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
108            
109            private Factory() { } // No instance of this class allowed
110        }
111    }