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