001    /*
002     * XML Type:  tBinding
003     * Namespace: http://schemas.xmlsoap.org/wsdl/
004     * Java type: org.apache.geronimo.xbeans.wsdl.TBinding
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.wsdl;
009    
010    
011    /**
012     * An XML tBinding(@http://schemas.xmlsoap.org/wsdl/).
013     *
014     * This is a complex type.
015     */
016    public interface TBinding extends org.apache.geronimo.xbeans.wsdl.TExtensibleDocumented
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sDD32E5A2898F33527024818ADE537D3B.TypeSystemHolder.typeSystem.resolveHandle("tbinding2f6ctype");
019        
020        /**
021         * Gets array of all "operation" elements
022         */
023        org.apache.geronimo.xbeans.wsdl.TBindingOperation[] getOperationArray();
024        
025        /**
026         * Gets ith "operation" element
027         */
028        org.apache.geronimo.xbeans.wsdl.TBindingOperation getOperationArray(int i);
029        
030        /**
031         * Returns number of "operation" element
032         */
033        int sizeOfOperationArray();
034        
035        /**
036         * Sets array of all "operation" element
037         */
038        void setOperationArray(org.apache.geronimo.xbeans.wsdl.TBindingOperation[] operationArray);
039        
040        /**
041         * Sets ith "operation" element
042         */
043        void setOperationArray(int i, org.apache.geronimo.xbeans.wsdl.TBindingOperation operation);
044        
045        /**
046         * Inserts and returns a new empty value (as xml) as the ith "operation" element
047         */
048        org.apache.geronimo.xbeans.wsdl.TBindingOperation insertNewOperation(int i);
049        
050        /**
051         * Appends and returns a new empty value (as xml) as the last "operation" element
052         */
053        org.apache.geronimo.xbeans.wsdl.TBindingOperation addNewOperation();
054        
055        /**
056         * Removes the ith "operation" element
057         */
058        void removeOperation(int i);
059        
060        /**
061         * Gets the "name" attribute
062         */
063        java.lang.String getName();
064        
065        /**
066         * Gets (as xml) the "name" attribute
067         */
068        org.apache.xmlbeans.XmlNCName xgetName();
069        
070        /**
071         * Sets the "name" attribute
072         */
073        void setName(java.lang.String name);
074        
075        /**
076         * Sets (as xml) the "name" attribute
077         */
078        void xsetName(org.apache.xmlbeans.XmlNCName name);
079        
080        /**
081         * Gets the "type" attribute
082         */
083        javax.xml.namespace.QName getType();
084        
085        /**
086         * Gets (as xml) the "type" attribute
087         */
088        org.apache.xmlbeans.XmlQName xgetType();
089        
090        /**
091         * Sets the "type" attribute
092         */
093        void setType(javax.xml.namespace.QName type);
094        
095        /**
096         * Sets (as xml) the "type" attribute
097         */
098        void xsetType(org.apache.xmlbeans.XmlQName type);
099        
100        /**
101         * A factory class with static methods for creating instances
102         * of this type.
103         */
104        
105        public static final class Factory
106        {
107            public static org.apache.geronimo.xbeans.wsdl.TBinding newInstance() {
108              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
109            
110            public static org.apache.geronimo.xbeans.wsdl.TBinding newInstance(org.apache.xmlbeans.XmlOptions options) {
111              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
112            
113            /** @param xmlAsString the string value to parse */
114            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
115              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
116            
117            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
118              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
119            
120            /** @param file the file from which to load an xml document */
121            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
122              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
123            
124            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
125              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
126            
127            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
128              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
129            
130            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
131              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
132            
133            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
134              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
135            
136            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
137              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
138            
139            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
140              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
141            
142            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
143              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
144            
145            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
146              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
147            
148            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
149              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
150            
151            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
152              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
153            
154            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
155              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
156            
157            /** @deprecated {@link XMLInputStream} */
158            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
159              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
160            
161            /** @deprecated {@link XMLInputStream} */
162            public static org.apache.geronimo.xbeans.wsdl.TBinding parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
163              return (org.apache.geronimo.xbeans.wsdl.TBinding) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
164            
165            /** @deprecated {@link XMLInputStream} */
166            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 {
167              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
168            
169            /** @deprecated {@link XMLInputStream} */
170            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 {
171              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
172            
173            private Factory() { } // No instance of this class allowed
174        }
175    }