001 /*
002 * XML Type: gbeanType
003 * Namespace: http://geronimo.apache.org/xml/ns/deployment-1.2
004 * Java type: org.apache.geronimo.deployment.xbeans.GbeanType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.deployment.xbeans;
009
010
011 /**
012 * An XML gbeanType(@http://geronimo.apache.org/xml/ns/deployment-1.2).
013 *
014 * This is a complex type.
015 */
016 public interface GbeanType extends org.apache.geronimo.deployment.xbeans.AbstractServiceType
017 {
018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.s596967AB426BF091FD59326316BABB46.TypeSystemHolder.typeSystem.resolveHandle("gbeantype7270type");
019
020 /**
021 * Gets array of all "attribute" elements
022 */
023 org.apache.geronimo.deployment.xbeans.AttributeType[] getAttributeArray();
024
025 /**
026 * Gets ith "attribute" element
027 */
028 org.apache.geronimo.deployment.xbeans.AttributeType getAttributeArray(int i);
029
030 /**
031 * Returns number of "attribute" element
032 */
033 int sizeOfAttributeArray();
034
035 /**
036 * Sets array of all "attribute" element
037 */
038 void setAttributeArray(org.apache.geronimo.deployment.xbeans.AttributeType[] attributeArray);
039
040 /**
041 * Sets ith "attribute" element
042 */
043 void setAttributeArray(int i, org.apache.geronimo.deployment.xbeans.AttributeType attribute);
044
045 /**
046 * Inserts and returns a new empty value (as xml) as the ith "attribute" element
047 */
048 org.apache.geronimo.deployment.xbeans.AttributeType insertNewAttribute(int i);
049
050 /**
051 * Appends and returns a new empty value (as xml) as the last "attribute" element
052 */
053 org.apache.geronimo.deployment.xbeans.AttributeType addNewAttribute();
054
055 /**
056 * Removes the ith "attribute" element
057 */
058 void removeAttribute(int i);
059
060 /**
061 * Gets array of all "xml-attribute" elements
062 */
063 org.apache.geronimo.deployment.xbeans.XmlAttributeType[] getXmlAttributeArray();
064
065 /**
066 * Gets ith "xml-attribute" element
067 */
068 org.apache.geronimo.deployment.xbeans.XmlAttributeType getXmlAttributeArray(int i);
069
070 /**
071 * Returns number of "xml-attribute" element
072 */
073 int sizeOfXmlAttributeArray();
074
075 /**
076 * Sets array of all "xml-attribute" element
077 */
078 void setXmlAttributeArray(org.apache.geronimo.deployment.xbeans.XmlAttributeType[] xmlAttributeArray);
079
080 /**
081 * Sets ith "xml-attribute" element
082 */
083 void setXmlAttributeArray(int i, org.apache.geronimo.deployment.xbeans.XmlAttributeType xmlAttribute);
084
085 /**
086 * Inserts and returns a new empty value (as xml) as the ith "xml-attribute" element
087 */
088 org.apache.geronimo.deployment.xbeans.XmlAttributeType insertNewXmlAttribute(int i);
089
090 /**
091 * Appends and returns a new empty value (as xml) as the last "xml-attribute" element
092 */
093 org.apache.geronimo.deployment.xbeans.XmlAttributeType addNewXmlAttribute();
094
095 /**
096 * Removes the ith "xml-attribute" element
097 */
098 void removeXmlAttribute(int i);
099
100 /**
101 * Gets array of all "reference" elements
102 */
103 org.apache.geronimo.deployment.xbeans.ReferenceType[] getReferenceArray();
104
105 /**
106 * Gets ith "reference" element
107 */
108 org.apache.geronimo.deployment.xbeans.ReferenceType getReferenceArray(int i);
109
110 /**
111 * Returns number of "reference" element
112 */
113 int sizeOfReferenceArray();
114
115 /**
116 * Sets array of all "reference" element
117 */
118 void setReferenceArray(org.apache.geronimo.deployment.xbeans.ReferenceType[] referenceArray);
119
120 /**
121 * Sets ith "reference" element
122 */
123 void setReferenceArray(int i, org.apache.geronimo.deployment.xbeans.ReferenceType reference);
124
125 /**
126 * Inserts and returns a new empty value (as xml) as the ith "reference" element
127 */
128 org.apache.geronimo.deployment.xbeans.ReferenceType insertNewReference(int i);
129
130 /**
131 * Appends and returns a new empty value (as xml) as the last "reference" element
132 */
133 org.apache.geronimo.deployment.xbeans.ReferenceType addNewReference();
134
135 /**
136 * Removes the ith "reference" element
137 */
138 void removeReference(int i);
139
140 /**
141 * Gets array of all "references" elements
142 */
143 org.apache.geronimo.deployment.xbeans.ReferencesType[] getReferencesArray();
144
145 /**
146 * Gets ith "references" element
147 */
148 org.apache.geronimo.deployment.xbeans.ReferencesType getReferencesArray(int i);
149
150 /**
151 * Returns number of "references" element
152 */
153 int sizeOfReferencesArray();
154
155 /**
156 * Sets array of all "references" element
157 */
158 void setReferencesArray(org.apache.geronimo.deployment.xbeans.ReferencesType[] referencesArray);
159
160 /**
161 * Sets ith "references" element
162 */
163 void setReferencesArray(int i, org.apache.geronimo.deployment.xbeans.ReferencesType references);
164
165 /**
166 * Inserts and returns a new empty value (as xml) as the ith "references" element
167 */
168 org.apache.geronimo.deployment.xbeans.ReferencesType insertNewReferences(int i);
169
170 /**
171 * Appends and returns a new empty value (as xml) as the last "references" element
172 */
173 org.apache.geronimo.deployment.xbeans.ReferencesType addNewReferences();
174
175 /**
176 * Removes the ith "references" element
177 */
178 void removeReferences(int i);
179
180 /**
181 * Gets array of all "xml-reference" elements
182 */
183 org.apache.geronimo.deployment.xbeans.XmlAttributeType[] getXmlReferenceArray();
184
185 /**
186 * Gets ith "xml-reference" element
187 */
188 org.apache.geronimo.deployment.xbeans.XmlAttributeType getXmlReferenceArray(int i);
189
190 /**
191 * Returns number of "xml-reference" element
192 */
193 int sizeOfXmlReferenceArray();
194
195 /**
196 * Sets array of all "xml-reference" element
197 */
198 void setXmlReferenceArray(org.apache.geronimo.deployment.xbeans.XmlAttributeType[] xmlReferenceArray);
199
200 /**
201 * Sets ith "xml-reference" element
202 */
203 void setXmlReferenceArray(int i, org.apache.geronimo.deployment.xbeans.XmlAttributeType xmlReference);
204
205 /**
206 * Inserts and returns a new empty value (as xml) as the ith "xml-reference" element
207 */
208 org.apache.geronimo.deployment.xbeans.XmlAttributeType insertNewXmlReference(int i);
209
210 /**
211 * Appends and returns a new empty value (as xml) as the last "xml-reference" element
212 */
213 org.apache.geronimo.deployment.xbeans.XmlAttributeType addNewXmlReference();
214
215 /**
216 * Removes the ith "xml-reference" element
217 */
218 void removeXmlReference(int i);
219
220 /**
221 * Gets array of all "dependency" elements
222 */
223 org.apache.geronimo.deployment.xbeans.PatternType[] getDependencyArray();
224
225 /**
226 * Gets ith "dependency" element
227 */
228 org.apache.geronimo.deployment.xbeans.PatternType getDependencyArray(int i);
229
230 /**
231 * Returns number of "dependency" element
232 */
233 int sizeOfDependencyArray();
234
235 /**
236 * Sets array of all "dependency" element
237 */
238 void setDependencyArray(org.apache.geronimo.deployment.xbeans.PatternType[] dependencyArray);
239
240 /**
241 * Sets ith "dependency" element
242 */
243 void setDependencyArray(int i, org.apache.geronimo.deployment.xbeans.PatternType dependency);
244
245 /**
246 * Inserts and returns a new empty value (as xml) as the ith "dependency" element
247 */
248 org.apache.geronimo.deployment.xbeans.PatternType insertNewDependency(int i);
249
250 /**
251 * Appends and returns a new empty value (as xml) as the last "dependency" element
252 */
253 org.apache.geronimo.deployment.xbeans.PatternType addNewDependency();
254
255 /**
256 * Removes the ith "dependency" element
257 */
258 void removeDependency(int i);
259
260 /**
261 * Gets the "name" attribute
262 */
263 java.lang.String getName();
264
265 /**
266 * Gets (as xml) the "name" attribute
267 */
268 org.apache.xmlbeans.XmlString xgetName();
269
270 /**
271 * Sets the "name" attribute
272 */
273 void setName(java.lang.String name);
274
275 /**
276 * Sets (as xml) the "name" attribute
277 */
278 void xsetName(org.apache.xmlbeans.XmlString name);
279
280 /**
281 * Gets the "class" attribute
282 */
283 java.lang.String getClass1();
284
285 /**
286 * Gets (as xml) the "class" attribute
287 */
288 org.apache.xmlbeans.XmlString xgetClass1();
289
290 /**
291 * Sets the "class" attribute
292 */
293 void setClass1(java.lang.String class1);
294
295 /**
296 * Sets (as xml) the "class" attribute
297 */
298 void xsetClass1(org.apache.xmlbeans.XmlString class1);
299
300 /**
301 * A factory class with static methods for creating instances
302 * of this type.
303 */
304
305 public static final class Factory
306 {
307 public static org.apache.geronimo.deployment.xbeans.GbeanType newInstance() {
308 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
309
310 public static org.apache.geronimo.deployment.xbeans.GbeanType newInstance(org.apache.xmlbeans.XmlOptions options) {
311 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
312
313 /** @param xmlAsString the string value to parse */
314 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
315 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
316
317 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
318 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
319
320 /** @param file the file from which to load an xml document */
321 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
322 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
323
324 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
325 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
326
327 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
328 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
329
330 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
331 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
332
333 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
334 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
335
336 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
337 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
338
339 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
340 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
341
342 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
343 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
344
345 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
346 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
347
348 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
349 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
350
351 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
352 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
353
354 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
355 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
356
357 /** @deprecated {@link XMLInputStream} */
358 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
359 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
360
361 /** @deprecated {@link XMLInputStream} */
362 public static org.apache.geronimo.deployment.xbeans.GbeanType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
363 return (org.apache.geronimo.deployment.xbeans.GbeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
364
365 /** @deprecated {@link XMLInputStream} */
366 public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
367 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
368
369 /** @deprecated {@link XMLInputStream} */
370 public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
371 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
372
373 private Factory() { } // No instance of this class allowed
374 }
375 }