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