001: /*
002: * XML Type: ServiceType
003: * Namespace: http://www.w3.org/ns/wsdl
004: * Java type: org.w3.ns.wsdl.ServiceType
005: *
006: * Automatically generated - do not modify.
007: */
008: package org.w3.ns.wsdl;
009:
010: /**
011: * An XML ServiceType(@http://www.w3.org/ns/wsdl).
012: *
013: * This is a complex type.
014: */
015: public interface ServiceType 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: ServiceType.class.getClassLoader(),
020: "schemaorg_apache_xmlbeans.system.s2EAECD9BB08C57F25B7B261051DD8E7E")
021: .resolveHandle("servicetypece60type");
022:
023: /**
024: * Gets array of all "endpoint" elements
025: */
026: org.w3.ns.wsdl.EndpointType[] getEndpointArray();
027:
028: /**
029: * Gets ith "endpoint" element
030: */
031: org.w3.ns.wsdl.EndpointType getEndpointArray(int i);
032:
033: /**
034: * Returns number of "endpoint" element
035: */
036: int sizeOfEndpointArray();
037:
038: /**
039: * Sets array of all "endpoint" element
040: */
041: void setEndpointArray(org.w3.ns.wsdl.EndpointType[] endpointArray);
042:
043: /**
044: * Sets ith "endpoint" element
045: */
046: void setEndpointArray(int i, org.w3.ns.wsdl.EndpointType endpoint);
047:
048: /**
049: * Inserts and returns a new empty value (as xml) as the ith "endpoint" element
050: */
051: org.w3.ns.wsdl.EndpointType insertNewEndpoint(int i);
052:
053: /**
054: * Appends and returns a new empty value (as xml) as the last "endpoint" element
055: */
056: org.w3.ns.wsdl.EndpointType addNewEndpoint();
057:
058: /**
059: * Removes the ith "endpoint" element
060: */
061: void removeEndpoint(int i);
062:
063: /**
064: * Gets the "name" attribute
065: */
066: java.lang.String getName();
067:
068: /**
069: * Gets (as xml) the "name" attribute
070: */
071: org.apache.xmlbeans.XmlNCName xgetName();
072:
073: /**
074: * Sets the "name" attribute
075: */
076: void setName(java.lang.String name);
077:
078: /**
079: * Sets (as xml) the "name" attribute
080: */
081: void xsetName(org.apache.xmlbeans.XmlNCName name);
082:
083: /**
084: * Gets the "interface" attribute
085: */
086: javax.xml.namespace.QName getInterface();
087:
088: /**
089: * Gets (as xml) the "interface" attribute
090: */
091: org.apache.xmlbeans.XmlQName xgetInterface();
092:
093: /**
094: * Sets the "interface" attribute
095: */
096: void setInterface(javax.xml.namespace.QName xinterface);
097:
098: /**
099: * Sets (as xml) the "interface" attribute
100: */
101: void xsetInterface(org.apache.xmlbeans.XmlQName xinterface);
102:
103: /**
104: * A factory class with static methods for creating instances
105: * of this type.
106: */
107:
108: public static final class Factory {
109: public static org.w3.ns.wsdl.ServiceType newInstance() {
110: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
111: .getContextTypeLoader().newInstance(type, null);
112: }
113:
114: public static org.w3.ns.wsdl.ServiceType newInstance(
115: org.apache.xmlbeans.XmlOptions options) {
116: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
117: .getContextTypeLoader().newInstance(type, options);
118: }
119:
120: /** @param xmlAsString the string value to parse */
121: public static org.w3.ns.wsdl.ServiceType parse(
122: java.lang.String xmlAsString)
123: throws org.apache.xmlbeans.XmlException {
124: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
125: .getContextTypeLoader().parse(xmlAsString, type,
126: null);
127: }
128:
129: public static org.w3.ns.wsdl.ServiceType parse(
130: java.lang.String xmlAsString,
131: org.apache.xmlbeans.XmlOptions options)
132: throws org.apache.xmlbeans.XmlException {
133: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
134: .getContextTypeLoader().parse(xmlAsString, type,
135: options);
136: }
137:
138: /** @param file the file from which to load an xml document */
139: public static org.w3.ns.wsdl.ServiceType parse(java.io.File file)
140: throws org.apache.xmlbeans.XmlException,
141: java.io.IOException {
142: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
143: .getContextTypeLoader().parse(file, type, null);
144: }
145:
146: public static org.w3.ns.wsdl.ServiceType parse(
147: java.io.File file,
148: org.apache.xmlbeans.XmlOptions options)
149: throws org.apache.xmlbeans.XmlException,
150: java.io.IOException {
151: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
152: .getContextTypeLoader().parse(file, type, options);
153: }
154:
155: public static org.w3.ns.wsdl.ServiceType parse(java.net.URL u)
156: throws org.apache.xmlbeans.XmlException,
157: java.io.IOException {
158: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
159: .getContextTypeLoader().parse(u, type, null);
160: }
161:
162: public static org.w3.ns.wsdl.ServiceType parse(java.net.URL u,
163: org.apache.xmlbeans.XmlOptions options)
164: throws org.apache.xmlbeans.XmlException,
165: java.io.IOException {
166: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
167: .getContextTypeLoader().parse(u, type, options);
168: }
169:
170: public static org.w3.ns.wsdl.ServiceType parse(
171: java.io.InputStream is)
172: throws org.apache.xmlbeans.XmlException,
173: java.io.IOException {
174: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
175: .getContextTypeLoader().parse(is, type, null);
176: }
177:
178: public static org.w3.ns.wsdl.ServiceType parse(
179: java.io.InputStream is,
180: org.apache.xmlbeans.XmlOptions options)
181: throws org.apache.xmlbeans.XmlException,
182: java.io.IOException {
183: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
184: .getContextTypeLoader().parse(is, type, options);
185: }
186:
187: public static org.w3.ns.wsdl.ServiceType parse(java.io.Reader r)
188: throws org.apache.xmlbeans.XmlException,
189: java.io.IOException {
190: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
191: .getContextTypeLoader().parse(r, type, null);
192: }
193:
194: public static org.w3.ns.wsdl.ServiceType parse(
195: java.io.Reader r, org.apache.xmlbeans.XmlOptions options)
196: throws org.apache.xmlbeans.XmlException,
197: java.io.IOException {
198: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
199: .getContextTypeLoader().parse(r, type, options);
200: }
201:
202: public static org.w3.ns.wsdl.ServiceType parse(
203: javax.xml.stream.XMLStreamReader sr)
204: throws org.apache.xmlbeans.XmlException {
205: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
206: .getContextTypeLoader().parse(sr, type, null);
207: }
208:
209: public static org.w3.ns.wsdl.ServiceType parse(
210: javax.xml.stream.XMLStreamReader sr,
211: org.apache.xmlbeans.XmlOptions options)
212: throws org.apache.xmlbeans.XmlException {
213: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
214: .getContextTypeLoader().parse(sr, type, options);
215: }
216:
217: public static org.w3.ns.wsdl.ServiceType parse(
218: org.w3c.dom.Node node)
219: throws org.apache.xmlbeans.XmlException {
220: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
221: .getContextTypeLoader().parse(node, type, null);
222: }
223:
224: public static org.w3.ns.wsdl.ServiceType parse(
225: org.w3c.dom.Node node,
226: org.apache.xmlbeans.XmlOptions options)
227: throws org.apache.xmlbeans.XmlException {
228: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
229: .getContextTypeLoader().parse(node, type, options);
230: }
231:
232: /** @deprecated {@link XMLInputStream} */
233: public static org.w3.ns.wsdl.ServiceType parse(
234: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
235: throws org.apache.xmlbeans.XmlException,
236: org.apache.xmlbeans.xml.stream.XMLStreamException {
237: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
238: .getContextTypeLoader().parse(xis, type, null);
239: }
240:
241: /** @deprecated {@link XMLInputStream} */
242: public static org.w3.ns.wsdl.ServiceType parse(
243: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
244: org.apache.xmlbeans.XmlOptions options)
245: throws org.apache.xmlbeans.XmlException,
246: org.apache.xmlbeans.xml.stream.XMLStreamException {
247: return (org.w3.ns.wsdl.ServiceType) org.apache.xmlbeans.XmlBeans
248: .getContextTypeLoader().parse(xis, type, options);
249: }
250:
251: /** @deprecated {@link XMLInputStream} */
252: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
253: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
254: throws org.apache.xmlbeans.XmlException,
255: org.apache.xmlbeans.xml.stream.XMLStreamException {
256: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
257: .newValidatingXMLInputStream(xis, type, null);
258: }
259:
260: /** @deprecated {@link XMLInputStream} */
261: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
262: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
263: org.apache.xmlbeans.XmlOptions options)
264: throws org.apache.xmlbeans.XmlException,
265: org.apache.xmlbeans.xml.stream.XMLStreamException {
266: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
267: .newValidatingXMLInputStream(xis, type, options);
268: }
269:
270: private Factory() {
271: } // No instance of this class allowed
272: }
273: }
|