001: /*
002: * XML Type: BindingType
003: * Namespace: http://www.w3.org/ns/wsdl
004: * Java type: org.w3.ns.wsdl.BindingType
005: *
006: * Automatically generated - do not modify.
007: */
008: package org.w3.ns.wsdl;
009:
010: /**
011: * An XML BindingType(@http://www.w3.org/ns/wsdl).
012: *
013: * This is a complex type.
014: */
015: public interface BindingType 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: BindingType.class.getClassLoader(),
020: "schemaorg_apache_xmlbeans.system.s2EAECD9BB08C57F25B7B261051DD8E7E")
021: .resolveHandle("bindingtype2a30type");
022:
023: /**
024: * Gets array of all "operation" elements
025: */
026: org.w3.ns.wsdl.BindingOperationType[] getOperationArray();
027:
028: /**
029: * Gets ith "operation" element
030: */
031: org.w3.ns.wsdl.BindingOperationType getOperationArray(int i);
032:
033: /**
034: * Returns number of "operation" element
035: */
036: int sizeOfOperationArray();
037:
038: /**
039: * Sets array of all "operation" element
040: */
041: void setOperationArray(
042: org.w3.ns.wsdl.BindingOperationType[] operationArray);
043:
044: /**
045: * Sets ith "operation" element
046: */
047: void setOperationArray(int i,
048: org.w3.ns.wsdl.BindingOperationType operation);
049:
050: /**
051: * Inserts and returns a new empty value (as xml) as the ith "operation" element
052: */
053: org.w3.ns.wsdl.BindingOperationType insertNewOperation(int i);
054:
055: /**
056: * Appends and returns a new empty value (as xml) as the last "operation" element
057: */
058: org.w3.ns.wsdl.BindingOperationType addNewOperation();
059:
060: /**
061: * Removes the ith "operation" element
062: */
063: void removeOperation(int i);
064:
065: /**
066: * Gets array of all "fault" elements
067: */
068: org.w3.ns.wsdl.BindingFaultType[] getFaultArray();
069:
070: /**
071: * Gets ith "fault" element
072: */
073: org.w3.ns.wsdl.BindingFaultType getFaultArray(int i);
074:
075: /**
076: * Returns number of "fault" element
077: */
078: int sizeOfFaultArray();
079:
080: /**
081: * Sets array of all "fault" element
082: */
083: void setFaultArray(org.w3.ns.wsdl.BindingFaultType[] faultArray);
084:
085: /**
086: * Sets ith "fault" element
087: */
088: void setFaultArray(int i, org.w3.ns.wsdl.BindingFaultType fault);
089:
090: /**
091: * Inserts and returns a new empty value (as xml) as the ith "fault" element
092: */
093: org.w3.ns.wsdl.BindingFaultType insertNewFault(int i);
094:
095: /**
096: * Appends and returns a new empty value (as xml) as the last "fault" element
097: */
098: org.w3.ns.wsdl.BindingFaultType addNewFault();
099:
100: /**
101: * Removes the ith "fault" element
102: */
103: void removeFault(int i);
104:
105: /**
106: * Gets the "name" attribute
107: */
108: java.lang.String getName();
109:
110: /**
111: * Gets (as xml) the "name" attribute
112: */
113: org.apache.xmlbeans.XmlNCName xgetName();
114:
115: /**
116: * Sets the "name" attribute
117: */
118: void setName(java.lang.String name);
119:
120: /**
121: * Sets (as xml) the "name" attribute
122: */
123: void xsetName(org.apache.xmlbeans.XmlNCName name);
124:
125: /**
126: * Gets the "type" attribute
127: */
128: java.lang.String getType();
129:
130: /**
131: * Gets (as xml) the "type" attribute
132: */
133: org.apache.xmlbeans.XmlAnyURI xgetType();
134:
135: /**
136: * Sets the "type" attribute
137: */
138: void setType(java.lang.String type);
139:
140: /**
141: * Sets (as xml) the "type" attribute
142: */
143: void xsetType(org.apache.xmlbeans.XmlAnyURI type);
144:
145: /**
146: * Gets the "interface" attribute
147: */
148: javax.xml.namespace.QName getInterface();
149:
150: /**
151: * Gets (as xml) the "interface" attribute
152: */
153: org.apache.xmlbeans.XmlQName xgetInterface();
154:
155: /**
156: * True if has "interface" attribute
157: */
158: boolean isSetInterface();
159:
160: /**
161: * Sets the "interface" attribute
162: */
163: void setInterface(javax.xml.namespace.QName xinterface);
164:
165: /**
166: * Sets (as xml) the "interface" attribute
167: */
168: void xsetInterface(org.apache.xmlbeans.XmlQName xinterface);
169:
170: /**
171: * Unsets the "interface" attribute
172: */
173: void unsetInterface();
174:
175: /**
176: * A factory class with static methods for creating instances
177: * of this type.
178: */
179:
180: public static final class Factory {
181: public static org.w3.ns.wsdl.BindingType newInstance() {
182: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
183: .getContextTypeLoader().newInstance(type, null);
184: }
185:
186: public static org.w3.ns.wsdl.BindingType newInstance(
187: org.apache.xmlbeans.XmlOptions options) {
188: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
189: .getContextTypeLoader().newInstance(type, options);
190: }
191:
192: /** @param xmlAsString the string value to parse */
193: public static org.w3.ns.wsdl.BindingType parse(
194: java.lang.String xmlAsString)
195: throws org.apache.xmlbeans.XmlException {
196: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
197: .getContextTypeLoader().parse(xmlAsString, type,
198: null);
199: }
200:
201: public static org.w3.ns.wsdl.BindingType parse(
202: java.lang.String xmlAsString,
203: org.apache.xmlbeans.XmlOptions options)
204: throws org.apache.xmlbeans.XmlException {
205: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
206: .getContextTypeLoader().parse(xmlAsString, type,
207: options);
208: }
209:
210: /** @param file the file from which to load an xml document */
211: public static org.w3.ns.wsdl.BindingType parse(java.io.File file)
212: throws org.apache.xmlbeans.XmlException,
213: java.io.IOException {
214: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
215: .getContextTypeLoader().parse(file, type, null);
216: }
217:
218: public static org.w3.ns.wsdl.BindingType parse(
219: java.io.File file,
220: org.apache.xmlbeans.XmlOptions options)
221: throws org.apache.xmlbeans.XmlException,
222: java.io.IOException {
223: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
224: .getContextTypeLoader().parse(file, type, options);
225: }
226:
227: public static org.w3.ns.wsdl.BindingType parse(java.net.URL u)
228: throws org.apache.xmlbeans.XmlException,
229: java.io.IOException {
230: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
231: .getContextTypeLoader().parse(u, type, null);
232: }
233:
234: public static org.w3.ns.wsdl.BindingType parse(java.net.URL u,
235: org.apache.xmlbeans.XmlOptions options)
236: throws org.apache.xmlbeans.XmlException,
237: java.io.IOException {
238: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
239: .getContextTypeLoader().parse(u, type, options);
240: }
241:
242: public static org.w3.ns.wsdl.BindingType parse(
243: java.io.InputStream is)
244: throws org.apache.xmlbeans.XmlException,
245: java.io.IOException {
246: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
247: .getContextTypeLoader().parse(is, type, null);
248: }
249:
250: public static org.w3.ns.wsdl.BindingType parse(
251: java.io.InputStream is,
252: org.apache.xmlbeans.XmlOptions options)
253: throws org.apache.xmlbeans.XmlException,
254: java.io.IOException {
255: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
256: .getContextTypeLoader().parse(is, type, options);
257: }
258:
259: public static org.w3.ns.wsdl.BindingType parse(java.io.Reader r)
260: throws org.apache.xmlbeans.XmlException,
261: java.io.IOException {
262: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
263: .getContextTypeLoader().parse(r, type, null);
264: }
265:
266: public static org.w3.ns.wsdl.BindingType parse(
267: java.io.Reader r, org.apache.xmlbeans.XmlOptions options)
268: throws org.apache.xmlbeans.XmlException,
269: java.io.IOException {
270: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
271: .getContextTypeLoader().parse(r, type, options);
272: }
273:
274: public static org.w3.ns.wsdl.BindingType parse(
275: javax.xml.stream.XMLStreamReader sr)
276: throws org.apache.xmlbeans.XmlException {
277: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
278: .getContextTypeLoader().parse(sr, type, null);
279: }
280:
281: public static org.w3.ns.wsdl.BindingType parse(
282: javax.xml.stream.XMLStreamReader sr,
283: org.apache.xmlbeans.XmlOptions options)
284: throws org.apache.xmlbeans.XmlException {
285: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
286: .getContextTypeLoader().parse(sr, type, options);
287: }
288:
289: public static org.w3.ns.wsdl.BindingType parse(
290: org.w3c.dom.Node node)
291: throws org.apache.xmlbeans.XmlException {
292: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
293: .getContextTypeLoader().parse(node, type, null);
294: }
295:
296: public static org.w3.ns.wsdl.BindingType parse(
297: org.w3c.dom.Node node,
298: org.apache.xmlbeans.XmlOptions options)
299: throws org.apache.xmlbeans.XmlException {
300: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
301: .getContextTypeLoader().parse(node, type, options);
302: }
303:
304: /** @deprecated {@link XMLInputStream} */
305: public static org.w3.ns.wsdl.BindingType parse(
306: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
307: throws org.apache.xmlbeans.XmlException,
308: org.apache.xmlbeans.xml.stream.XMLStreamException {
309: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
310: .getContextTypeLoader().parse(xis, type, null);
311: }
312:
313: /** @deprecated {@link XMLInputStream} */
314: public static org.w3.ns.wsdl.BindingType parse(
315: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
316: org.apache.xmlbeans.XmlOptions options)
317: throws org.apache.xmlbeans.XmlException,
318: org.apache.xmlbeans.xml.stream.XMLStreamException {
319: return (org.w3.ns.wsdl.BindingType) org.apache.xmlbeans.XmlBeans
320: .getContextTypeLoader().parse(xis, type, options);
321: }
322:
323: /** @deprecated {@link XMLInputStream} */
324: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
325: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
326: throws org.apache.xmlbeans.XmlException,
327: org.apache.xmlbeans.xml.stream.XMLStreamException {
328: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
329: .newValidatingXMLInputStream(xis, type, null);
330: }
331:
332: /** @deprecated {@link XMLInputStream} */
333: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
334: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
335: org.apache.xmlbeans.XmlOptions options)
336: throws org.apache.xmlbeans.XmlException,
337: org.apache.xmlbeans.xml.stream.XMLStreamException {
338: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
339: .newValidatingXMLInputStream(xis, type, options);
340: }
341:
342: private Factory() {
343: } // No instance of this class allowed
344: }
345: }
|