001: /*
002: * An XML document type.
003: * Localname: alertDef
004: * Namespace: http://cbesb.bostechcorp.com/alert/1.0
005: * Java type: com.bostechcorp.cbesb.alert.x10.AlertDefDocument
006: *
007: * Automatically generated - do not modify.
008: */
009: package com.bostechcorp.cbesb.alert.x10;
010:
011: /**
012: * A document containing one alertDef(@http://cbesb.bostechcorp.com/alert/1.0) element.
013: *
014: * This is a complex type.
015: */
016: public interface AlertDefDocument 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: AlertDefDocument.class.getClassLoader(),
020: "schemaorg_apache_xmlbeans.system.sF259B946CC6DFC609F8E7F1ECC7FFD8F")
021: .resolveHandle("alertdef2bbddoctype");
022:
023: /**
024: * Gets the "alertDef" element
025: */
026: com.bostechcorp.cbesb.alert.x10.AlertDefDocument.AlertDef getAlertDef();
027:
028: /**
029: * Sets the "alertDef" element
030: */
031: void setAlertDef(
032: com.bostechcorp.cbesb.alert.x10.AlertDefDocument.AlertDef alertDef);
033:
034: /**
035: * Appends and returns a new empty "alertDef" element
036: */
037: com.bostechcorp.cbesb.alert.x10.AlertDefDocument.AlertDef addNewAlertDef();
038:
039: /**
040: * An XML alertDef(@http://cbesb.bostechcorp.com/alert/1.0).
041: *
042: * This is a complex type.
043: */
044: public interface AlertDef extends org.apache.xmlbeans.XmlObject {
045: public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) org.apache.xmlbeans.XmlBeans
046: .typeSystemForClassLoader(
047: AlertDef.class.getClassLoader(),
048: "schemaorg_apache_xmlbeans.system.sF259B946CC6DFC609F8E7F1ECC7FFD8F")
049: .resolveHandle("alertdefbe22elemtype");
050:
051: /**
052: * Gets array of all "alertEntry" elements
053: */
054: com.bostechcorp.cbesb.alert.x10.AlertEntryType[] getAlertEntryArray();
055:
056: /**
057: * Gets ith "alertEntry" element
058: */
059: com.bostechcorp.cbesb.alert.x10.AlertEntryType getAlertEntryArray(
060: int i);
061:
062: /**
063: * Returns number of "alertEntry" element
064: */
065: int sizeOfAlertEntryArray();
066:
067: /**
068: * Sets array of all "alertEntry" element
069: */
070: void setAlertEntryArray(
071: com.bostechcorp.cbesb.alert.x10.AlertEntryType[] alertEntryArray);
072:
073: /**
074: * Sets ith "alertEntry" element
075: */
076: void setAlertEntryArray(
077: int i,
078: com.bostechcorp.cbesb.alert.x10.AlertEntryType alertEntry);
079:
080: /**
081: * Inserts and returns a new empty value (as xml) as the ith "alertEntry" element
082: */
083: com.bostechcorp.cbesb.alert.x10.AlertEntryType insertNewAlertEntry(
084: int i);
085:
086: /**
087: * Appends and returns a new empty value (as xml) as the last "alertEntry" element
088: */
089: com.bostechcorp.cbesb.alert.x10.AlertEntryType addNewAlertEntry();
090:
091: /**
092: * Removes the ith "alertEntry" element
093: */
094: void removeAlertEntry(int i);
095:
096: /**
097: * Gets the "name" attribute
098: */
099: java.lang.String getName();
100:
101: /**
102: * Gets (as xml) the "name" attribute
103: */
104: org.apache.xmlbeans.XmlString xgetName();
105:
106: /**
107: * True if has "name" attribute
108: */
109: boolean isSetName();
110:
111: /**
112: * Sets the "name" attribute
113: */
114: void setName(java.lang.String name);
115:
116: /**
117: * Sets (as xml) the "name" attribute
118: */
119: void xsetName(org.apache.xmlbeans.XmlString name);
120:
121: /**
122: * Unsets the "name" attribute
123: */
124: void unsetName();
125:
126: /**
127: * A factory class with static methods for creating instances
128: * of this type.
129: */
130:
131: public static final class Factory {
132: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument.AlertDef newInstance() {
133: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument.AlertDef) org.apache.xmlbeans.XmlBeans
134: .getContextTypeLoader().newInstance(type, null);
135: }
136:
137: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument.AlertDef newInstance(
138: org.apache.xmlbeans.XmlOptions options) {
139: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument.AlertDef) org.apache.xmlbeans.XmlBeans
140: .getContextTypeLoader().newInstance(type,
141: options);
142: }
143:
144: private Factory() {
145: } // No instance of this class allowed
146: }
147: }
148:
149: /**
150: * A factory class with static methods for creating instances
151: * of this type.
152: */
153:
154: public static final class Factory {
155: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument newInstance() {
156: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
157: .getContextTypeLoader().newInstance(type, null);
158: }
159:
160: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument newInstance(
161: org.apache.xmlbeans.XmlOptions options) {
162: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
163: .getContextTypeLoader().newInstance(type, options);
164: }
165:
166: /** @param xmlAsString the string value to parse */
167: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
168: java.lang.String xmlAsString)
169: throws org.apache.xmlbeans.XmlException {
170: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
171: .getContextTypeLoader().parse(xmlAsString, type,
172: null);
173: }
174:
175: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
176: java.lang.String xmlAsString,
177: org.apache.xmlbeans.XmlOptions options)
178: throws org.apache.xmlbeans.XmlException {
179: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
180: .getContextTypeLoader().parse(xmlAsString, type,
181: options);
182: }
183:
184: /** @param file the file from which to load an xml document */
185: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
186: java.io.File file)
187: throws org.apache.xmlbeans.XmlException,
188: java.io.IOException {
189: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
190: .getContextTypeLoader().parse(file, type, null);
191: }
192:
193: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
194: java.io.File file,
195: org.apache.xmlbeans.XmlOptions options)
196: throws org.apache.xmlbeans.XmlException,
197: java.io.IOException {
198: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
199: .getContextTypeLoader().parse(file, type, options);
200: }
201:
202: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
203: java.net.URL u)
204: throws org.apache.xmlbeans.XmlException,
205: java.io.IOException {
206: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
207: .getContextTypeLoader().parse(u, type, null);
208: }
209:
210: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
211: java.net.URL u, org.apache.xmlbeans.XmlOptions options)
212: throws org.apache.xmlbeans.XmlException,
213: java.io.IOException {
214: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
215: .getContextTypeLoader().parse(u, type, options);
216: }
217:
218: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
219: java.io.InputStream is)
220: throws org.apache.xmlbeans.XmlException,
221: java.io.IOException {
222: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
223: .getContextTypeLoader().parse(is, type, null);
224: }
225:
226: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
227: java.io.InputStream is,
228: org.apache.xmlbeans.XmlOptions options)
229: throws org.apache.xmlbeans.XmlException,
230: java.io.IOException {
231: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
232: .getContextTypeLoader().parse(is, type, options);
233: }
234:
235: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
236: java.io.Reader r)
237: throws org.apache.xmlbeans.XmlException,
238: java.io.IOException {
239: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
240: .getContextTypeLoader().parse(r, type, null);
241: }
242:
243: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
244: java.io.Reader r, org.apache.xmlbeans.XmlOptions options)
245: throws org.apache.xmlbeans.XmlException,
246: java.io.IOException {
247: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
248: .getContextTypeLoader().parse(r, type, options);
249: }
250:
251: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
252: javax.xml.stream.XMLStreamReader sr)
253: throws org.apache.xmlbeans.XmlException {
254: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
255: .getContextTypeLoader().parse(sr, type, null);
256: }
257:
258: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
259: javax.xml.stream.XMLStreamReader sr,
260: org.apache.xmlbeans.XmlOptions options)
261: throws org.apache.xmlbeans.XmlException {
262: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
263: .getContextTypeLoader().parse(sr, type, options);
264: }
265:
266: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
267: org.w3c.dom.Node node)
268: throws org.apache.xmlbeans.XmlException {
269: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
270: .getContextTypeLoader().parse(node, type, null);
271: }
272:
273: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
274: org.w3c.dom.Node node,
275: org.apache.xmlbeans.XmlOptions options)
276: throws org.apache.xmlbeans.XmlException {
277: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
278: .getContextTypeLoader().parse(node, type, options);
279: }
280:
281: /** @deprecated {@link XMLInputStream} */
282: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
283: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
284: throws org.apache.xmlbeans.XmlException,
285: org.apache.xmlbeans.xml.stream.XMLStreamException {
286: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
287: .getContextTypeLoader().parse(xis, type, null);
288: }
289:
290: /** @deprecated {@link XMLInputStream} */
291: public static com.bostechcorp.cbesb.alert.x10.AlertDefDocument parse(
292: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
293: org.apache.xmlbeans.XmlOptions options)
294: throws org.apache.xmlbeans.XmlException,
295: org.apache.xmlbeans.xml.stream.XMLStreamException {
296: return (com.bostechcorp.cbesb.alert.x10.AlertDefDocument) org.apache.xmlbeans.XmlBeans
297: .getContextTypeLoader().parse(xis, type, options);
298: }
299:
300: /** @deprecated {@link XMLInputStream} */
301: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
302: org.apache.xmlbeans.xml.stream.XMLInputStream xis)
303: throws org.apache.xmlbeans.XmlException,
304: org.apache.xmlbeans.xml.stream.XMLStreamException {
305: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
306: .newValidatingXMLInputStream(xis, type, null);
307: }
308:
309: /** @deprecated {@link XMLInputStream} */
310: public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(
311: org.apache.xmlbeans.xml.stream.XMLInputStream xis,
312: org.apache.xmlbeans.XmlOptions options)
313: throws org.apache.xmlbeans.XmlException,
314: org.apache.xmlbeans.xml.stream.XMLStreamException {
315: return org.apache.xmlbeans.XmlBeans.getContextTypeLoader()
316: .newValidatingXMLInputStream(xis, type, options);
317: }
318:
319: private Factory() {
320: } // No instance of this class allowed
321: }
322: }
|