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