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