001: /*
002: * XML Type: DescriptionType
003: * Namespace: http://www.w3.org/ns/wsdl
004: * Java type: org.w3.ns.wsdl.DescriptionType
005: *
006: * Automatically generated - do not modify.
007: */
008: package org.w3.ns.wsdl;
009:
010: /**
011: * An XML DescriptionType(@http://www.w3.org/ns/wsdl).
012: *
013: * This is a complex type.
014: */
015: public interface DescriptionType extends
016: org.w3.ns.wsdl.ExtensibleDocumentedType {
017: public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) org.apache.xmlbeans.XmlBeans
018: .typeSystemForClassLoader(
019: DescriptionType.class.getClassLoader(),
020: "schemaorg_apache_xmlbeans.system.s2EAECD9BB08C57F25B7B261051DD8E7E")
021: .resolveHandle("descriptiontypef1e7type");
022:
023: /**
024: * Gets array of all "import" elements
025: */
026: org.w3.ns.wsdl.ImportType[] getImportArray();
027:
028: /**
029: * Gets ith "import" element
030: */
031: org.w3.ns.wsdl.ImportType getImportArray(int i);
032:
033: /**
034: * Returns number of "import" element
035: */
036: int sizeOfImportArray();
037:
038: /**
039: * Sets array of all "import" element
040: */
041: void setImportArray(org.w3.ns.wsdl.ImportType[] ximportArray);
042:
043: /**
044: * Sets ith "import" element
045: */
046: void setImportArray(int i, org.w3.ns.wsdl.ImportType ximport);
047:
048: /**
049: * Inserts and returns a new empty value (as xml) as the ith "import" element
050: */
051: org.w3.ns.wsdl.ImportType insertNewImport(int i);
052:
053: /**
054: * Appends and returns a new empty value (as xml) as the last "import" element
055: */
056: org.w3.ns.wsdl.ImportType addNewImport();
057:
058: /**
059: * Removes the ith "import" element
060: */
061: void removeImport(int i);
062:
063: /**
064: * Gets array of all "include" elements
065: */
066: org.w3.ns.wsdl.IncludeType[] getIncludeArray();
067:
068: /**
069: * Gets ith "include" element
070: */
071: org.w3.ns.wsdl.IncludeType getIncludeArray(int i);
072:
073: /**
074: * Returns number of "include" element
075: */
076: int sizeOfIncludeArray();
077:
078: /**
079: * Sets array of all "include" element
080: */
081: void setIncludeArray(org.w3.ns.wsdl.IncludeType[] includeArray);
082:
083: /**
084: * Sets ith "include" element
085: */
086: void setIncludeArray(int i, org.w3.ns.wsdl.IncludeType include);
087:
088: /**
089: * Inserts and returns a new empty value (as xml) as the ith "include" element
090: */
091: org.w3.ns.wsdl.IncludeType insertNewInclude(int i);
092:
093: /**
094: * Appends and returns a new empty value (as xml) as the last "include" element
095: */
096: org.w3.ns.wsdl.IncludeType addNewInclude();
097:
098: /**
099: * Removes the ith "include" element
100: */
101: void removeInclude(int i);
102:
103: /**
104: * Gets array of all "types" elements
105: */
106: org.w3.ns.wsdl.TypesType[] getTypesArray();
107:
108: /**
109: * Gets ith "types" element
110: */
111: org.w3.ns.wsdl.TypesType getTypesArray(int i);
112:
113: /**
114: * Returns number of "types" element
115: */
116: int sizeOfTypesArray();
117:
118: /**
119: * Sets array of all "types" element
120: */
121: void setTypesArray(org.w3.ns.wsdl.TypesType[] typesArray);
122:
123: /**
124: * Sets ith "types" element
125: */
126: void setTypesArray(int i, org.w3.ns.wsdl.TypesType types);
127:
128: /**
129: * Inserts and returns a new empty value (as xml) as the ith "types" element
130: */
131: org.w3.ns.wsdl.TypesType insertNewTypes(int i);
132:
133: /**
134: * Appends and returns a new empty value (as xml) as the last "types" element
135: */
136: org.w3.ns.wsdl.TypesType addNewTypes();
137:
138: /**
139: * Removes the ith "types" element
140: */
141: void removeTypes(int i);
142:
143: /**
144: * Gets array of all "interface" elements
145: */
146: org.w3.ns.wsdl.InterfaceType[] getInterfaceArray();
147:
148: /**
149: * Gets ith "interface" element
150: */
151: org.w3.ns.wsdl.InterfaceType getInterfaceArray(int i);
152:
153: /**
154: * Returns number of "interface" element
155: */
156: int sizeOfInterfaceArray();
157:
158: /**
159: * Sets array of all "interface" element
160: */
161: void setInterfaceArray(
162: org.w3.ns.wsdl.InterfaceType[] xinterfaceArray);
163:
164: /**
165: * Sets ith "interface" element
166: */
167: void setInterfaceArray(int i,
168: org.w3.ns.wsdl.InterfaceType xinterface);
169:
170: /**
171: * Inserts and returns a new empty value (as xml) as the ith "interface" element
172: */
173: org.w3.ns.wsdl.InterfaceType insertNewInterface(int i);
174:
175: /**
176: * Appends and returns a new empty value (as xml) as the last "interface" element
177: */
178: org.w3.ns.wsdl.InterfaceType addNewInterface();
179:
180: /**
181: * Removes the ith "interface" element
182: */
183: void removeInterface(int i);
184:
185: /**
186: * Gets array of all "binding" elements
187: */
188: org.w3.ns.wsdl.BindingType[] getBindingArray();
189:
190: /**
191: * Gets ith "binding" element
192: */
193: org.w3.ns.wsdl.BindingType getBindingArray(int i);
194:
195: /**
196: * Returns number of "binding" element
197: */
198: int sizeOfBindingArray();
199:
200: /**
201: * Sets array of all "binding" element
202: */
203: void setBindingArray(org.w3.ns.wsdl.BindingType[] bindingArray);
204:
205: /**
206: * Sets ith "binding" element
207: */
208: void setBindingArray(int i, org.w3.ns.wsdl.BindingType binding);
209:
210: /**
211: * Inserts and returns a new empty value (as xml) as the ith "binding" element
212: */
213: org.w3.ns.wsdl.BindingType insertNewBinding(int i);
214:
215: /**
216: * Appends and returns a new empty value (as xml) as the last "binding" element
217: */
218: org.w3.ns.wsdl.BindingType addNewBinding();
219:
220: /**
221: * Removes the ith "binding" element
222: */
223: void removeBinding(int i);
224:
225: /**
226: * Gets array of all "service" elements
227: */
228: org.w3.ns.wsdl.ServiceType[] getServiceArray();
229:
230: /**
231: * Gets ith "service" element
232: */
233: org.w3.ns.wsdl.ServiceType getServiceArray(int i);
234:
235: /**
236: * Returns number of "service" element
237: */
238: int sizeOfServiceArray();
239:
240: /**
241: * Sets array of all "service" element
242: */
243: void setServiceArray(org.w3.ns.wsdl.ServiceType[] serviceArray);
244:
245: /**
246: * Sets ith "service" element
247: */
248: void setServiceArray(int i, org.w3.ns.wsdl.ServiceType service);
249:
250: /**
251: * Inserts and returns a new empty value (as xml) as the ith "service" element
252: */
253: org.w3.ns.wsdl.ServiceType insertNewService(int i);
254:
255: /**
256: * Appends and returns a new empty value (as xml) as the last "service" element
257: */
258: org.w3.ns.wsdl.ServiceType addNewService();
259:
260: /**
261: * Removes the ith "service" element
262: */
263: void removeService(int i);
264:
265: /**
266: * Gets the "targetNamespace" attribute
267: */
268: java.lang.String getTargetNamespace();
269:
270: /**
271: * Gets (as xml) the "targetNamespace" attribute
272: */
273: org.apache.xmlbeans.XmlAnyURI xgetTargetNamespace();
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(
284: org.apache.xmlbeans.XmlAnyURI targetNamespace);
285:
286: /**
287: * A factory class with static methods for creating instances
288: * of this type.
289: */
290:
291: public static final class Factory {
292: public static org.w3.ns.wsdl.DescriptionType newInstance() {
293: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
294: .getContextTypeLoader().newInstance(type, null);
295: }
296:
297: public static org.w3.ns.wsdl.DescriptionType newInstance(
298: org.apache.xmlbeans.XmlOptions options) {
299: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
300: .getContextTypeLoader().newInstance(type, options);
301: }
302:
303: /** @param xmlAsString the string value to parse */
304: public static org.w3.ns.wsdl.DescriptionType parse(
305: java.lang.String xmlAsString)
306: throws org.apache.xmlbeans.XmlException {
307: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
308: .getContextTypeLoader().parse(xmlAsString, type,
309: null);
310: }
311:
312: public static org.w3.ns.wsdl.DescriptionType parse(
313: java.lang.String xmlAsString,
314: org.apache.xmlbeans.XmlOptions options)
315: throws org.apache.xmlbeans.XmlException {
316: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
317: .getContextTypeLoader().parse(xmlAsString, type,
318: options);
319: }
320:
321: /** @param file the file from which to load an xml document */
322: public static org.w3.ns.wsdl.DescriptionType parse(
323: java.io.File file)
324: throws org.apache.xmlbeans.XmlException,
325: java.io.IOException {
326: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
327: .getContextTypeLoader().parse(file, type, null);
328: }
329:
330: public static org.w3.ns.wsdl.DescriptionType parse(
331: java.io.File file,
332: org.apache.xmlbeans.XmlOptions options)
333: throws org.apache.xmlbeans.XmlException,
334: java.io.IOException {
335: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
336: .getContextTypeLoader().parse(file, type, options);
337: }
338:
339: public static org.w3.ns.wsdl.DescriptionType parse(
340: java.net.URL u)
341: throws org.apache.xmlbeans.XmlException,
342: java.io.IOException {
343: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
344: .getContextTypeLoader().parse(u, type, null);
345: }
346:
347: public static org.w3.ns.wsdl.DescriptionType parse(
348: java.net.URL u, org.apache.xmlbeans.XmlOptions options)
349: throws org.apache.xmlbeans.XmlException,
350: java.io.IOException {
351: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
352: .getContextTypeLoader().parse(u, type, options);
353: }
354:
355: public static org.w3.ns.wsdl.DescriptionType parse(
356: java.io.InputStream is)
357: throws org.apache.xmlbeans.XmlException,
358: java.io.IOException {
359: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
360: .getContextTypeLoader().parse(is, type, null);
361: }
362:
363: public static org.w3.ns.wsdl.DescriptionType parse(
364: java.io.InputStream is,
365: org.apache.xmlbeans.XmlOptions options)
366: throws org.apache.xmlbeans.XmlException,
367: java.io.IOException {
368: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
369: .getContextTypeLoader().parse(is, type, options);
370: }
371:
372: public static org.w3.ns.wsdl.DescriptionType parse(
373: java.io.Reader r)
374: throws org.apache.xmlbeans.XmlException,
375: java.io.IOException {
376: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
377: .getContextTypeLoader().parse(r, type, null);
378: }
379:
380: public static org.w3.ns.wsdl.DescriptionType parse(
381: java.io.Reader r, org.apache.xmlbeans.XmlOptions options)
382: throws org.apache.xmlbeans.XmlException,
383: java.io.IOException {
384: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
385: .getContextTypeLoader().parse(r, type, options);
386: }
387:
388: public static org.w3.ns.wsdl.DescriptionType parse(
389: javax.xml.stream.XMLStreamReader sr)
390: throws org.apache.xmlbeans.XmlException {
391: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
392: .getContextTypeLoader().parse(sr, type, null);
393: }
394:
395: public static org.w3.ns.wsdl.DescriptionType parse(
396: javax.xml.stream.XMLStreamReader sr,
397: org.apache.xmlbeans.XmlOptions options)
398: throws org.apache.xmlbeans.XmlException {
399: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
400: .getContextTypeLoader().parse(sr, type, options);
401: }
402:
403: public static org.w3.ns.wsdl.DescriptionType parse(
404: org.w3c.dom.Node node)
405: throws org.apache.xmlbeans.XmlException {
406: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
407: .getContextTypeLoader().parse(node, type, null);
408: }
409:
410: public static org.w3.ns.wsdl.DescriptionType parse(
411: org.w3c.dom.Node node,
412: org.apache.xmlbeans.XmlOptions options)
413: throws org.apache.xmlbeans.XmlException {
414: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
415: .getContextTypeLoader().parse(node, type, options);
416: }
417:
418: /** @deprecated {@link XMLInputStream} */
419: public static org.w3.ns.wsdl.DescriptionType parse(
420: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
421: throws org.apache.xmlbeans.XmlException,
422: org.apache.xmlbeans.xml.stream.XMLStreamException {
423: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
424: .getContextTypeLoader().parse(xis, type, null);
425: }
426:
427: /** @deprecated {@link XMLInputStream} */
428: public static org.w3.ns.wsdl.DescriptionType parse(
429: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
430: org.apache.xmlbeans.XmlOptions options)
431: throws org.apache.xmlbeans.XmlException,
432: org.apache.xmlbeans.xml.stream.XMLStreamException {
433: return (org.w3.ns.wsdl.DescriptionType) org.apache.xmlbeans.XmlBeans
434: .getContextTypeLoader().parse(xis, type, options);
435: }
436:
437: /** @deprecated {@link XMLInputStream} */
438: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
439: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
440: throws org.apache.xmlbeans.XmlException,
441: org.apache.xmlbeans.xml.stream.XMLStreamException {
442: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
443: .newValidatingXMLInputStream(xis, type, null);
444: }
445:
446: /** @deprecated {@link XMLInputStream} */
447: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
448: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
449: org.apache.xmlbeans.XmlOptions options)
450: throws org.apache.xmlbeans.XmlException,
451: org.apache.xmlbeans.xml.stream.XMLStreamException {
452: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
453: .newValidatingXMLInputStream(xis, type, options);
454: }
455:
456: private Factory() {
457: } // No instance of this class allowed
458: }
459: }
|