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