001/* 002 * An XML document type. 003 * Localname: beans 004 * Namespace: http://www.springframework.org/schema/beans 005 * Java type: org.springframework.schema.beans.BeansDocument 006 * 007 * Automatically generated - do not modify. 008 */ 009package org.springframework.schema.beans; 010 011 012/** 013 * A document containing one beans(@http://www.springframework.org/schema/beans) element. 014 * 015 * This is a complex type. 016 */ 017public interface BeansDocument extends org.apache.xmlbeans.XmlObject 018{ 019 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 020 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(BeansDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("beansb110doctype"); 021 022 /** 023 * Gets the "beans" element 024 */ 025 org.springframework.schema.beans.BeansDocument.Beans getBeans(); 026 027 /** 028 * Sets the "beans" element 029 */ 030 void setBeans(org.springframework.schema.beans.BeansDocument.Beans beans); 031 032 /** 033 * Appends and returns a new empty "beans" element 034 */ 035 org.springframework.schema.beans.BeansDocument.Beans addNewBeans(); 036 037 /** 038 * An XML beans(@http://www.springframework.org/schema/beans). 039 * 040 * This is a complex type. 041 */ 042 public interface Beans extends org.apache.xmlbeans.XmlObject 043 { 044 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 045 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Beans.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("beansc0bfelemtype"); 046 047 /** 048 * Gets the "description" element 049 */ 050 org.springframework.schema.beans.DescriptionDocument.Description getDescription(); 051 052 /** 053 * True if has "description" element 054 */ 055 boolean isSetDescription(); 056 057 /** 058 * Sets the "description" element 059 */ 060 void setDescription(org.springframework.schema.beans.DescriptionDocument.Description description); 061 062 /** 063 * Appends and returns a new empty "description" element 064 */ 065 org.springframework.schema.beans.DescriptionDocument.Description addNewDescription(); 066 067 /** 068 * Unsets the "description" element 069 */ 070 void unsetDescription(); 071 072 /** 073 * Gets array of all "import" elements 074 */ 075 org.springframework.schema.beans.ImportDocument.Import[] getImportArray(); 076 077 /** 078 * Gets ith "import" element 079 */ 080 org.springframework.schema.beans.ImportDocument.Import getImportArray(int i); 081 082 /** 083 * Returns number of "import" element 084 */ 085 int sizeOfImportArray(); 086 087 /** 088 * Sets array of all "import" element 089 */ 090 void setImportArray(org.springframework.schema.beans.ImportDocument.Import[] ximportArray); 091 092 /** 093 * Sets ith "import" element 094 */ 095 void setImportArray(int i, org.springframework.schema.beans.ImportDocument.Import ximport); 096 097 /** 098 * Inserts and returns a new empty value (as xml) as the ith "import" element 099 */ 100 org.springframework.schema.beans.ImportDocument.Import insertNewImport(int i); 101 102 /** 103 * Appends and returns a new empty value (as xml) as the last "import" element 104 */ 105 org.springframework.schema.beans.ImportDocument.Import addNewImport(); 106 107 /** 108 * Removes the ith "import" element 109 */ 110 void removeImport(int i); 111 112 /** 113 * Gets array of all "alias" elements 114 */ 115 org.springframework.schema.beans.AliasDocument.Alias[] getAliasArray(); 116 117 /** 118 * Gets ith "alias" element 119 */ 120 org.springframework.schema.beans.AliasDocument.Alias getAliasArray(int i); 121 122 /** 123 * Returns number of "alias" element 124 */ 125 int sizeOfAliasArray(); 126 127 /** 128 * Sets array of all "alias" element 129 */ 130 void setAliasArray(org.springframework.schema.beans.AliasDocument.Alias[] aliasArray); 131 132 /** 133 * Sets ith "alias" element 134 */ 135 void setAliasArray(int i, org.springframework.schema.beans.AliasDocument.Alias alias); 136 137 /** 138 * Inserts and returns a new empty value (as xml) as the ith "alias" element 139 */ 140 org.springframework.schema.beans.AliasDocument.Alias insertNewAlias(int i); 141 142 /** 143 * Appends and returns a new empty value (as xml) as the last "alias" element 144 */ 145 org.springframework.schema.beans.AliasDocument.Alias addNewAlias(); 146 147 /** 148 * Removes the ith "alias" element 149 */ 150 void removeAlias(int i); 151 152 /** 153 * Gets array of all "bean" elements 154 */ 155 org.springframework.schema.beans.BeanDocument.Bean[] getBeanArray(); 156 157 /** 158 * Gets ith "bean" element 159 */ 160 org.springframework.schema.beans.BeanDocument.Bean getBeanArray(int i); 161 162 /** 163 * Returns number of "bean" element 164 */ 165 int sizeOfBeanArray(); 166 167 /** 168 * Sets array of all "bean" element 169 */ 170 void setBeanArray(org.springframework.schema.beans.BeanDocument.Bean[] beanArray); 171 172 /** 173 * Sets ith "bean" element 174 */ 175 void setBeanArray(int i, org.springframework.schema.beans.BeanDocument.Bean bean); 176 177 /** 178 * Inserts and returns a new empty value (as xml) as the ith "bean" element 179 */ 180 org.springframework.schema.beans.BeanDocument.Bean insertNewBean(int i); 181 182 /** 183 * Appends and returns a new empty value (as xml) as the last "bean" element 184 */ 185 org.springframework.schema.beans.BeanDocument.Bean addNewBean(); 186 187 /** 188 * Removes the ith "bean" element 189 */ 190 void removeBean(int i); 191 192 /** 193 * Gets the "default-lazy-init" attribute 194 */ 195 boolean getDefaultLazyInit(); 196 197 /** 198 * Gets (as xml) the "default-lazy-init" attribute 199 */ 200 org.apache.xmlbeans.XmlBoolean xgetDefaultLazyInit(); 201 202 /** 203 * True if has "default-lazy-init" attribute 204 */ 205 boolean isSetDefaultLazyInit(); 206 207 /** 208 * Sets the "default-lazy-init" attribute 209 */ 210 void setDefaultLazyInit(boolean defaultLazyInit); 211 212 /** 213 * Sets (as xml) the "default-lazy-init" attribute 214 */ 215 void xsetDefaultLazyInit(org.apache.xmlbeans.XmlBoolean defaultLazyInit); 216 217 /** 218 * Unsets the "default-lazy-init" attribute 219 */ 220 void unsetDefaultLazyInit(); 221 222 /** 223 * Gets the "default-merge" attribute 224 */ 225 boolean getDefaultMerge(); 226 227 /** 228 * Gets (as xml) the "default-merge" attribute 229 */ 230 org.apache.xmlbeans.XmlBoolean xgetDefaultMerge(); 231 232 /** 233 * True if has "default-merge" attribute 234 */ 235 boolean isSetDefaultMerge(); 236 237 /** 238 * Sets the "default-merge" attribute 239 */ 240 void setDefaultMerge(boolean defaultMerge); 241 242 /** 243 * Sets (as xml) the "default-merge" attribute 244 */ 245 void xsetDefaultMerge(org.apache.xmlbeans.XmlBoolean defaultMerge); 246 247 /** 248 * Unsets the "default-merge" attribute 249 */ 250 void unsetDefaultMerge(); 251 252 /** 253 * Gets the "default-autowire" attribute 254 */ 255 org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire.Enum getDefaultAutowire(); 256 257 /** 258 * Gets (as xml) the "default-autowire" attribute 259 */ 260 org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire xgetDefaultAutowire(); 261 262 /** 263 * True if has "default-autowire" attribute 264 */ 265 boolean isSetDefaultAutowire(); 266 267 /** 268 * Sets the "default-autowire" attribute 269 */ 270 void setDefaultAutowire(org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire.Enum defaultAutowire); 271 272 /** 273 * Sets (as xml) the "default-autowire" attribute 274 */ 275 void xsetDefaultAutowire(org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire defaultAutowire); 276 277 /** 278 * Unsets the "default-autowire" attribute 279 */ 280 void unsetDefaultAutowire(); 281 282 /** 283 * Gets the "default-autowire-candidates" attribute 284 */ 285 java.lang.String getDefaultAutowireCandidates(); 286 287 /** 288 * Gets (as xml) the "default-autowire-candidates" attribute 289 */ 290 org.apache.xmlbeans.XmlString xgetDefaultAutowireCandidates(); 291 292 /** 293 * True if has "default-autowire-candidates" attribute 294 */ 295 boolean isSetDefaultAutowireCandidates(); 296 297 /** 298 * Sets the "default-autowire-candidates" attribute 299 */ 300 void setDefaultAutowireCandidates(java.lang.String defaultAutowireCandidates); 301 302 /** 303 * Sets (as xml) the "default-autowire-candidates" attribute 304 */ 305 void xsetDefaultAutowireCandidates(org.apache.xmlbeans.XmlString defaultAutowireCandidates); 306 307 /** 308 * Unsets the "default-autowire-candidates" attribute 309 */ 310 void unsetDefaultAutowireCandidates(); 311 312 /** 313 * Gets the "default-init-method" attribute 314 */ 315 java.lang.String getDefaultInitMethod(); 316 317 /** 318 * Gets (as xml) the "default-init-method" attribute 319 */ 320 org.apache.xmlbeans.XmlString xgetDefaultInitMethod(); 321 322 /** 323 * True if has "default-init-method" attribute 324 */ 325 boolean isSetDefaultInitMethod(); 326 327 /** 328 * Sets the "default-init-method" attribute 329 */ 330 void setDefaultInitMethod(java.lang.String defaultInitMethod); 331 332 /** 333 * Sets (as xml) the "default-init-method" attribute 334 */ 335 void xsetDefaultInitMethod(org.apache.xmlbeans.XmlString defaultInitMethod); 336 337 /** 338 * Unsets the "default-init-method" attribute 339 */ 340 void unsetDefaultInitMethod(); 341 342 /** 343 * Gets the "default-destroy-method" attribute 344 */ 345 java.lang.String getDefaultDestroyMethod(); 346 347 /** 348 * Gets (as xml) the "default-destroy-method" attribute 349 */ 350 org.apache.xmlbeans.XmlString xgetDefaultDestroyMethod(); 351 352 /** 353 * True if has "default-destroy-method" attribute 354 */ 355 boolean isSetDefaultDestroyMethod(); 356 357 /** 358 * Sets the "default-destroy-method" attribute 359 */ 360 void setDefaultDestroyMethod(java.lang.String defaultDestroyMethod); 361 362 /** 363 * Sets (as xml) the "default-destroy-method" attribute 364 */ 365 void xsetDefaultDestroyMethod(org.apache.xmlbeans.XmlString defaultDestroyMethod); 366 367 /** 368 * Unsets the "default-destroy-method" attribute 369 */ 370 void unsetDefaultDestroyMethod(); 371 372 /** 373 * An XML default-autowire(@). 374 * 375 * This is an atomic type that is a restriction of org.springframework.schema.beans.BeansDocument$Beans$DefaultAutowire. 376 */ 377 public interface DefaultAutowire extends org.apache.xmlbeans.XmlNMTOKEN 378 { 379 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 380 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(DefaultAutowire.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("defaultautowirec59fattrtype"); 381 382 org.apache.xmlbeans.StringEnumAbstractBase enumValue(); 383 void set(org.apache.xmlbeans.StringEnumAbstractBase e); 384 385 static final Enum NO = Enum.forString("no"); 386 static final Enum BY_NAME = Enum.forString("byName"); 387 static final Enum BY_TYPE = Enum.forString("byType"); 388 static final Enum CONSTRUCTOR = Enum.forString("constructor"); 389 390 static final int INT_NO = Enum.INT_NO; 391 static final int INT_BY_NAME = Enum.INT_BY_NAME; 392 static final int INT_BY_TYPE = Enum.INT_BY_TYPE; 393 static final int INT_CONSTRUCTOR = Enum.INT_CONSTRUCTOR; 394 395 /** 396 * Enumeration value class for org.springframework.schema.beans.BeansDocument$Beans$DefaultAutowire. 397 * These enum values can be used as follows: 398 * <pre> 399 * enum.toString(); // returns the string value of the enum 400 * enum.intValue(); // returns an int value, useful for switches 401 * // e.g., case Enum.INT_NO 402 * Enum.forString(s); // returns the enum value for a string 403 * Enum.forInt(i); // returns the enum value for an int 404 * </pre> 405 * Enumeration objects are immutable singleton objects that 406 * can be compared using == object equality. They have no 407 * public constructor. See the constants defined within this 408 * class for all the valid values. 409 */ 410 static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase 411 { 412 /** 413 * Returns the enum value for a string, or null if none. 414 */ 415 public static Enum forString(java.lang.String s) 416 { return (Enum)table.forString(s); } 417 /** 418 * Returns the enum value corresponding to an int, or null if none. 419 */ 420 public static Enum forInt(int i) 421 { return (Enum)table.forInt(i); } 422 423 private Enum(java.lang.String s, int i) 424 { super(s, i); } 425 426 static final int INT_NO = 1; 427 static final int INT_BY_NAME = 2; 428 static final int INT_BY_TYPE = 3; 429 static final int INT_CONSTRUCTOR = 4; 430 431 public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = 432 new org.apache.xmlbeans.StringEnumAbstractBase.Table 433 ( 434 new Enum[] 435 { 436 new Enum("no", INT_NO), 437 new Enum("byName", INT_BY_NAME), 438 new Enum("byType", INT_BY_TYPE), 439 new Enum("constructor", INT_CONSTRUCTOR), 440 } 441 ); 442 private static final long serialVersionUID = 1L; 443 private java.lang.Object readResolve() { return forInt(intValue()); } 444 } 445 446 /** 447 * A factory class with static methods for creating instances 448 * of this type. 449 */ 450 451 public static final class Factory 452 { 453 public static org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire newValue(java.lang.Object obj) { 454 return (org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire) type.newValue( obj ); } 455 456 public static org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire newInstance() { 457 return (org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 458 459 public static org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire newInstance(org.apache.xmlbeans.XmlOptions options) { 460 return (org.springframework.schema.beans.BeansDocument.Beans.DefaultAutowire) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 461 462 private Factory() { } // No instance of this class allowed 463 } 464 } 465 466 /** 467 * A factory class with static methods for creating instances 468 * of this type. 469 */ 470 471 public static final class Factory 472 { 473 public static org.springframework.schema.beans.BeansDocument.Beans newInstance() { 474 return (org.springframework.schema.beans.BeansDocument.Beans) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 475 476 public static org.springframework.schema.beans.BeansDocument.Beans newInstance(org.apache.xmlbeans.XmlOptions options) { 477 return (org.springframework.schema.beans.BeansDocument.Beans) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 478 479 private Factory() { } // No instance of this class allowed 480 } 481 } 482 483 /** 484 * A factory class with static methods for creating instances 485 * of this type. 486 */ 487 488 public static final class Factory 489 { 490 public static org.springframework.schema.beans.BeansDocument newInstance() { 491 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 492 493 public static org.springframework.schema.beans.BeansDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 494 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 495 496 /** @param xmlAsString the string value to parse */ 497 public static org.springframework.schema.beans.BeansDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 498 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 499 500 public static org.springframework.schema.beans.BeansDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 501 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 502 503 /** @param file the file from which to load an xml document */ 504 public static org.springframework.schema.beans.BeansDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 505 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 506 507 public static org.springframework.schema.beans.BeansDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 508 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 509 510 public static org.springframework.schema.beans.BeansDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 511 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 512 513 public static org.springframework.schema.beans.BeansDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 514 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 515 516 public static org.springframework.schema.beans.BeansDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 517 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 518 519 public static org.springframework.schema.beans.BeansDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 520 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 521 522 public static org.springframework.schema.beans.BeansDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 523 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 524 525 public static org.springframework.schema.beans.BeansDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 526 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 527 528 public static org.springframework.schema.beans.BeansDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 529 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 530 531 public static org.springframework.schema.beans.BeansDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 532 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 533 534 public static org.springframework.schema.beans.BeansDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 535 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 536 537 public static org.springframework.schema.beans.BeansDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 538 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 539 540 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 541 public static org.springframework.schema.beans.BeansDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 542 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 543 544 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 545 public static org.springframework.schema.beans.BeansDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 546 return (org.springframework.schema.beans.BeansDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 547 548 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 549 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 { 550 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 551 552 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 553 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 { 554 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 555 556 private Factory() { } // No instance of this class allowed 557 } 558}