001: /*
002: * An XML attribute type.
003: * Localname: required
004: * Namespace: http://www.w3.org/ns/wsdl
005: * Java type: org.w3.ns.wsdl.RequiredAttribute
006: *
007: * Automatically generated - do not modify.
008: */
009: package org.w3.ns.wsdl;
010:
011: /**
012: * A document containing one required(@http://www.w3.org/ns/wsdl) attribute.
013: *
014: * This is a complex type.
015: */
016: public interface RequiredAttribute 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: RequiredAttribute.class.getClassLoader(),
021: "schemaorg_apache_xmlbeans.system.s2EAECD9BB08C57F25B7B261051DD8E7E")
022: .resolveHandle("required5ac4attrtypetype");
023:
024: /**
025: * Gets the "required" attribute
026: */
027: boolean getRequired();
028:
029: /**
030: * Gets (as xml) the "required" attribute
031: */
032: org.apache.xmlbeans.XmlBoolean xgetRequired();
033:
034: /**
035: * True if has "required" attribute
036: */
037: boolean isSetRequired();
038:
039: /**
040: * Sets the "required" attribute
041: */
042: void setRequired(boolean required);
043:
044: /**
045: * Sets (as xml) the "required" attribute
046: */
047: void xsetRequired(org.apache.xmlbeans.XmlBoolean required);
048:
049: /**
050: * Unsets the "required" attribute
051: */
052: void unsetRequired();
053:
054: /**
055: * A factory class with static methods for creating instances
056: * of this type.
057: */
058:
059: public static final class Factory {
060: public static org.w3.ns.wsdl.RequiredAttribute newInstance() {
061: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
062: .getContextTypeLoader().newInstance(type, null);
063: }
064:
065: public static org.w3.ns.wsdl.RequiredAttribute newInstance(
066: org.apache.xmlbeans.XmlOptions options) {
067: return (org.w3.ns.wsdl.RequiredAttribute) 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.RequiredAttribute parse(
073: java.lang.String xmlAsString)
074: throws org.apache.xmlbeans.XmlException {
075: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
076: .getContextTypeLoader().parse(xmlAsString, type,
077: null);
078: }
079:
080: public static org.w3.ns.wsdl.RequiredAttribute parse(
081: java.lang.String xmlAsString,
082: org.apache.xmlbeans.XmlOptions options)
083: throws org.apache.xmlbeans.XmlException {
084: return (org.w3.ns.wsdl.RequiredAttribute) 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.RequiredAttribute parse(
091: java.io.File file)
092: throws org.apache.xmlbeans.XmlException,
093: java.io.IOException {
094: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
095: .getContextTypeLoader().parse(file, type, null);
096: }
097:
098: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) org.apache.xmlbeans.XmlBeans
104: .getContextTypeLoader().parse(file, type, options);
105: }
106:
107: public static org.w3.ns.wsdl.RequiredAttribute parse(
108: java.net.URL u)
109: throws org.apache.xmlbeans.XmlException,
110: java.io.IOException {
111: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
112: .getContextTypeLoader().parse(u, type, null);
113: }
114:
115: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) org.apache.xmlbeans.XmlBeans
120: .getContextTypeLoader().parse(u, type, options);
121: }
122:
123: public static org.w3.ns.wsdl.RequiredAttribute parse(
124: java.io.InputStream is)
125: throws org.apache.xmlbeans.XmlException,
126: java.io.IOException {
127: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
128: .getContextTypeLoader().parse(is, type, null);
129: }
130:
131: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) org.apache.xmlbeans.XmlBeans
137: .getContextTypeLoader().parse(is, type, options);
138: }
139:
140: public static org.w3.ns.wsdl.RequiredAttribute parse(
141: java.io.Reader r)
142: throws org.apache.xmlbeans.XmlException,
143: java.io.IOException {
144: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
145: .getContextTypeLoader().parse(r, type, null);
146: }
147:
148: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) org.apache.xmlbeans.XmlBeans
153: .getContextTypeLoader().parse(r, type, options);
154: }
155:
156: public static org.w3.ns.wsdl.RequiredAttribute parse(
157: javax.xml.stream.XMLStreamReader sr)
158: throws org.apache.xmlbeans.XmlException {
159: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
160: .getContextTypeLoader().parse(sr, type, null);
161: }
162:
163: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) org.apache.xmlbeans.XmlBeans
168: .getContextTypeLoader().parse(sr, type, options);
169: }
170:
171: public static org.w3.ns.wsdl.RequiredAttribute parse(
172: org.w3c.dom.Node node)
173: throws org.apache.xmlbeans.XmlException {
174: return (org.w3.ns.wsdl.RequiredAttribute) org.apache.xmlbeans.XmlBeans
175: .getContextTypeLoader().parse(node, type, null);
176: }
177:
178: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) org.apache.xmlbeans.XmlBeans
183: .getContextTypeLoader().parse(node, type, options);
184: }
185:
186: /** @deprecated {@link XMLInputStream} */
187: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) org.apache.xmlbeans.XmlBeans
192: .getContextTypeLoader().parse(xis, type, null);
193: }
194:
195: /** @deprecated {@link XMLInputStream} */
196: public static org.w3.ns.wsdl.RequiredAttribute 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.RequiredAttribute) 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: }
|