001    /*
002     * XML Type:  tDefinitions
003     * Namespace: http://schemas.xmlsoap.org/wsdl/
004     * Java type: org.apache.geronimo.xbeans.wsdl.TDefinitions
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.wsdl;
009    
010    
011    /**
012     * An XML tDefinitions(@http://schemas.xmlsoap.org/wsdl/).
013     *
014     * This is a complex type.
015     */
016    public interface TDefinitions 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("tdefinitions5651type");
019        
020        /**
021         * Gets array of all "import" elements
022         */
023        org.apache.geronimo.xbeans.wsdl.TImport[] getImportArray();
024        
025        /**
026         * Gets ith "import" element
027         */
028        org.apache.geronimo.xbeans.wsdl.TImport getImportArray(int i);
029        
030        /**
031         * Returns number of "import" element
032         */
033        int sizeOfImportArray();
034        
035        /**
036         * Sets array of all "import" element
037         */
038        void setImportArray(org.apache.geronimo.xbeans.wsdl.TImport[] ximportArray);
039        
040        /**
041         * Sets ith "import" element
042         */
043        void setImportArray(int i, org.apache.geronimo.xbeans.wsdl.TImport ximport);
044        
045        /**
046         * Inserts and returns a new empty value (as xml) as the ith "import" element
047         */
048        org.apache.geronimo.xbeans.wsdl.TImport insertNewImport(int i);
049        
050        /**
051         * Appends and returns a new empty value (as xml) as the last "import" element
052         */
053        org.apache.geronimo.xbeans.wsdl.TImport addNewImport();
054        
055        /**
056         * Removes the ith "import" element
057         */
058        void removeImport(int i);
059        
060        /**
061         * Gets array of all "types" elements
062         */
063        org.apache.geronimo.xbeans.wsdl.TTypes[] getTypesArray();
064        
065        /**
066         * Gets ith "types" element
067         */
068        org.apache.geronimo.xbeans.wsdl.TTypes getTypesArray(int i);
069        
070        /**
071         * Returns number of "types" element
072         */
073        int sizeOfTypesArray();
074        
075        /**
076         * Sets array of all "types" element
077         */
078        void setTypesArray(org.apache.geronimo.xbeans.wsdl.TTypes[] typesArray);
079        
080        /**
081         * Sets ith "types" element
082         */
083        void setTypesArray(int i, org.apache.geronimo.xbeans.wsdl.TTypes types);
084        
085        /**
086         * Inserts and returns a new empty value (as xml) as the ith "types" element
087         */
088        org.apache.geronimo.xbeans.wsdl.TTypes insertNewTypes(int i);
089        
090        /**
091         * Appends and returns a new empty value (as xml) as the last "types" element
092         */
093        org.apache.geronimo.xbeans.wsdl.TTypes addNewTypes();
094        
095        /**
096         * Removes the ith "types" element
097         */
098        void removeTypes(int i);
099        
100        /**
101         * Gets array of all "message" elements
102         */
103        org.apache.geronimo.xbeans.wsdl.TMessage[] getMessageArray();
104        
105        /**
106         * Gets ith "message" element
107         */
108        org.apache.geronimo.xbeans.wsdl.TMessage getMessageArray(int i);
109        
110        /**
111         * Returns number of "message" element
112         */
113        int sizeOfMessageArray();
114        
115        /**
116         * Sets array of all "message" element
117         */
118        void setMessageArray(org.apache.geronimo.xbeans.wsdl.TMessage[] messageArray);
119        
120        /**
121         * Sets ith "message" element
122         */
123        void setMessageArray(int i, org.apache.geronimo.xbeans.wsdl.TMessage message);
124        
125        /**
126         * Inserts and returns a new empty value (as xml) as the ith "message" element
127         */
128        org.apache.geronimo.xbeans.wsdl.TMessage insertNewMessage(int i);
129        
130        /**
131         * Appends and returns a new empty value (as xml) as the last "message" element
132         */
133        org.apache.geronimo.xbeans.wsdl.TMessage addNewMessage();
134        
135        /**
136         * Removes the ith "message" element
137         */
138        void removeMessage(int i);
139        
140        /**
141         * Gets array of all "portType" elements
142         */
143        org.apache.geronimo.xbeans.wsdl.TPortType[] getPortTypeArray();
144        
145        /**
146         * Gets ith "portType" element
147         */
148        org.apache.geronimo.xbeans.wsdl.TPortType getPortTypeArray(int i);
149        
150        /**
151         * Returns number of "portType" element
152         */
153        int sizeOfPortTypeArray();
154        
155        /**
156         * Sets array of all "portType" element
157         */
158        void setPortTypeArray(org.apache.geronimo.xbeans.wsdl.TPortType[] portTypeArray);
159        
160        /**
161         * Sets ith "portType" element
162         */
163        void setPortTypeArray(int i, org.apache.geronimo.xbeans.wsdl.TPortType portType);
164        
165        /**
166         * Inserts and returns a new empty value (as xml) as the ith "portType" element
167         */
168        org.apache.geronimo.xbeans.wsdl.TPortType insertNewPortType(int i);
169        
170        /**
171         * Appends and returns a new empty value (as xml) as the last "portType" element
172         */
173        org.apache.geronimo.xbeans.wsdl.TPortType addNewPortType();
174        
175        /**
176         * Removes the ith "portType" element
177         */
178        void removePortType(int i);
179        
180        /**
181         * Gets array of all "binding" elements
182         */
183        org.apache.geronimo.xbeans.wsdl.TBinding[] getBindingArray();
184        
185        /**
186         * Gets ith "binding" element
187         */
188        org.apache.geronimo.xbeans.wsdl.TBinding getBindingArray(int i);
189        
190        /**
191         * Returns number of "binding" element
192         */
193        int sizeOfBindingArray();
194        
195        /**
196         * Sets array of all "binding" element
197         */
198        void setBindingArray(org.apache.geronimo.xbeans.wsdl.TBinding[] bindingArray);
199        
200        /**
201         * Sets ith "binding" element
202         */
203        void setBindingArray(int i, org.apache.geronimo.xbeans.wsdl.TBinding binding);
204        
205        /**
206         * Inserts and returns a new empty value (as xml) as the ith "binding" element
207         */
208        org.apache.geronimo.xbeans.wsdl.TBinding insertNewBinding(int i);
209        
210        /**
211         * Appends and returns a new empty value (as xml) as the last "binding" element
212         */
213        org.apache.geronimo.xbeans.wsdl.TBinding addNewBinding();
214        
215        /**
216         * Removes the ith "binding" element
217         */
218        void removeBinding(int i);
219        
220        /**
221         * Gets array of all "service" elements
222         */
223        org.apache.geronimo.xbeans.wsdl.TService[] getServiceArray();
224        
225        /**
226         * Gets ith "service" element
227         */
228        org.apache.geronimo.xbeans.wsdl.TService getServiceArray(int i);
229        
230        /**
231         * Returns number of "service" element
232         */
233        int sizeOfServiceArray();
234        
235        /**
236         * Sets array of all "service" element
237         */
238        void setServiceArray(org.apache.geronimo.xbeans.wsdl.TService[] serviceArray);
239        
240        /**
241         * Sets ith "service" element
242         */
243        void setServiceArray(int i, org.apache.geronimo.xbeans.wsdl.TService service);
244        
245        /**
246         * Inserts and returns a new empty value (as xml) as the ith "service" element
247         */
248        org.apache.geronimo.xbeans.wsdl.TService insertNewService(int i);
249        
250        /**
251         * Appends and returns a new empty value (as xml) as the last "service" element
252         */
253        org.apache.geronimo.xbeans.wsdl.TService addNewService();
254        
255        /**
256         * Removes the ith "service" element
257         */
258        void removeService(int i);
259        
260        /**
261         * Gets the "targetNamespace" attribute
262         */
263        java.lang.String getTargetNamespace();
264        
265        /**
266         * Gets (as xml) the "targetNamespace" attribute
267         */
268        org.apache.xmlbeans.XmlAnyURI xgetTargetNamespace();
269        
270        /**
271         * True if has "targetNamespace" attribute
272         */
273        boolean isSetTargetNamespace();
274        
275        /**
276         * Sets the "targetNamespace" attribute
277         */
278        void setTargetNamespace(java.lang.String targetNamespace);
279        
280        /**
281         * Sets (as xml) the "targetNamespace" attribute
282         */
283        void xsetTargetNamespace(org.apache.xmlbeans.XmlAnyURI targetNamespace);
284        
285        /**
286         * Unsets the "targetNamespace" attribute
287         */
288        void unsetTargetNamespace();
289        
290        /**
291         * Gets the "name" attribute
292         */
293        java.lang.String getName();
294        
295        /**
296         * Gets (as xml) the "name" attribute
297         */
298        org.apache.xmlbeans.XmlNCName xgetName();
299        
300        /**
301         * True if has "name" attribute
302         */
303        boolean isSetName();
304        
305        /**
306         * Sets the "name" attribute
307         */
308        void setName(java.lang.String name);
309        
310        /**
311         * Sets (as xml) the "name" attribute
312         */
313        void xsetName(org.apache.xmlbeans.XmlNCName name);
314        
315        /**
316         * Unsets the "name" attribute
317         */
318        void unsetName();
319        
320        /**
321         * A factory class with static methods for creating instances
322         * of this type.
323         */
324        
325        public static final class Factory
326        {
327            public static org.apache.geronimo.xbeans.wsdl.TDefinitions newInstance() {
328              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
329            
330            public static org.apache.geronimo.xbeans.wsdl.TDefinitions newInstance(org.apache.xmlbeans.XmlOptions options) {
331              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
332            
333            /** @param xmlAsString the string value to parse */
334            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
335              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
336            
337            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
338              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
339            
340            /** @param file the file from which to load an xml document */
341            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
342              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
343            
344            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
345              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
346            
347            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
348              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
349            
350            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
351              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
352            
353            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
354              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
355            
356            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
357              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
358            
359            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
360              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
361            
362            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
363              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
364            
365            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
366              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
367            
368            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
369              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
370            
371            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
372              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
373            
374            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
375              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
376            
377            /** @deprecated {@link XMLInputStream} */
378            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
379              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
380            
381            /** @deprecated {@link XMLInputStream} */
382            public static org.apache.geronimo.xbeans.wsdl.TDefinitions parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
383              return (org.apache.geronimo.xbeans.wsdl.TDefinitions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
384            
385            /** @deprecated {@link XMLInputStream} */
386            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 {
387              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
388            
389            /** @deprecated {@link XMLInputStream} */
390            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 {
391              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
392            
393            private Factory() { } // No instance of this class allowed
394        }
395    }