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