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