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