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