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