001/* 002 * An XML document type. 003 * Localname: bean 004 * Namespace: http://www.springframework.org/schema/beans 005 * Java type: org.springframework.schema.beans.BeanDocument 006 * 007 * Automatically generated - do not modify. 008 */ 009package org.springframework.schema.beans; 010 011 012/** 013 * A document containing one bean(@http://www.springframework.org/schema/beans) element. 014 * 015 * This is a complex type. 016 */ 017public interface BeanDocument 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(BeanDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("beanc84fdoctype"); 021 022 /** 023 * Gets the "bean" element 024 */ 025 org.springframework.schema.beans.BeanDocument.Bean getBean(); 026 027 /** 028 * Sets the "bean" element 029 */ 030 void setBean(org.springframework.schema.beans.BeanDocument.Bean bean); 031 032 /** 033 * Appends and returns a new empty "bean" element 034 */ 035 org.springframework.schema.beans.BeanDocument.Bean addNewBean(); 036 037 /** 038 * An XML bean(@http://www.springframework.org/schema/beans). 039 * 040 * This is a complex type. 041 */ 042 public interface Bean extends org.springframework.schema.beans.IdentifiedType 043 { 044 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 045 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Bean.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("bean8c83elemtype"); 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 "meta" elements 074 */ 075 org.springframework.schema.beans.MetaType[] getMetaArray(); 076 077 /** 078 * Gets ith "meta" element 079 */ 080 org.springframework.schema.beans.MetaType getMetaArray(int i); 081 082 /** 083 * Returns number of "meta" element 084 */ 085 int sizeOfMetaArray(); 086 087 /** 088 * Sets array of all "meta" element 089 */ 090 void setMetaArray(org.springframework.schema.beans.MetaType[] metaArray); 091 092 /** 093 * Sets ith "meta" element 094 */ 095 void setMetaArray(int i, org.springframework.schema.beans.MetaType meta); 096 097 /** 098 * Inserts and returns a new empty value (as xml) as the ith "meta" element 099 */ 100 org.springframework.schema.beans.MetaType insertNewMeta(int i); 101 102 /** 103 * Appends and returns a new empty value (as xml) as the last "meta" element 104 */ 105 org.springframework.schema.beans.MetaType addNewMeta(); 106 107 /** 108 * Removes the ith "meta" element 109 */ 110 void removeMeta(int i); 111 112 /** 113 * Gets array of all "constructor-arg" elements 114 */ 115 org.springframework.schema.beans.ConstructorArgDocument.ConstructorArg[] getConstructorArgArray(); 116 117 /** 118 * Gets ith "constructor-arg" element 119 */ 120 org.springframework.schema.beans.ConstructorArgDocument.ConstructorArg getConstructorArgArray(int i); 121 122 /** 123 * Returns number of "constructor-arg" element 124 */ 125 int sizeOfConstructorArgArray(); 126 127 /** 128 * Sets array of all "constructor-arg" element 129 */ 130 void setConstructorArgArray(org.springframework.schema.beans.ConstructorArgDocument.ConstructorArg[] constructorArgArray); 131 132 /** 133 * Sets ith "constructor-arg" element 134 */ 135 void setConstructorArgArray(int i, org.springframework.schema.beans.ConstructorArgDocument.ConstructorArg constructorArg); 136 137 /** 138 * Inserts and returns a new empty value (as xml) as the ith "constructor-arg" element 139 */ 140 org.springframework.schema.beans.ConstructorArgDocument.ConstructorArg insertNewConstructorArg(int i); 141 142 /** 143 * Appends and returns a new empty value (as xml) as the last "constructor-arg" element 144 */ 145 org.springframework.schema.beans.ConstructorArgDocument.ConstructorArg addNewConstructorArg(); 146 147 /** 148 * Removes the ith "constructor-arg" element 149 */ 150 void removeConstructorArg(int i); 151 152 /** 153 * Gets array of all "property" elements 154 */ 155 org.springframework.schema.beans.PropertyType[] getPropertyArray(); 156 157 /** 158 * Gets ith "property" element 159 */ 160 org.springframework.schema.beans.PropertyType getPropertyArray(int i); 161 162 /** 163 * Returns number of "property" element 164 */ 165 int sizeOfPropertyArray(); 166 167 /** 168 * Sets array of all "property" element 169 */ 170 void setPropertyArray(org.springframework.schema.beans.PropertyType[] propertyArray); 171 172 /** 173 * Sets ith "property" element 174 */ 175 void setPropertyArray(int i, org.springframework.schema.beans.PropertyType property); 176 177 /** 178 * Inserts and returns a new empty value (as xml) as the ith "property" element 179 */ 180 org.springframework.schema.beans.PropertyType insertNewProperty(int i); 181 182 /** 183 * Appends and returns a new empty value (as xml) as the last "property" element 184 */ 185 org.springframework.schema.beans.PropertyType addNewProperty(); 186 187 /** 188 * Removes the ith "property" element 189 */ 190 void removeProperty(int i); 191 192 /** 193 * Gets array of all "qualifier" elements 194 */ 195 org.springframework.schema.beans.QualifierDocument.Qualifier[] getQualifierArray(); 196 197 /** 198 * Gets ith "qualifier" element 199 */ 200 org.springframework.schema.beans.QualifierDocument.Qualifier getQualifierArray(int i); 201 202 /** 203 * Returns number of "qualifier" element 204 */ 205 int sizeOfQualifierArray(); 206 207 /** 208 * Sets array of all "qualifier" element 209 */ 210 void setQualifierArray(org.springframework.schema.beans.QualifierDocument.Qualifier[] qualifierArray); 211 212 /** 213 * Sets ith "qualifier" element 214 */ 215 void setQualifierArray(int i, org.springframework.schema.beans.QualifierDocument.Qualifier qualifier); 216 217 /** 218 * Inserts and returns a new empty value (as xml) as the ith "qualifier" element 219 */ 220 org.springframework.schema.beans.QualifierDocument.Qualifier insertNewQualifier(int i); 221 222 /** 223 * Appends and returns a new empty value (as xml) as the last "qualifier" element 224 */ 225 org.springframework.schema.beans.QualifierDocument.Qualifier addNewQualifier(); 226 227 /** 228 * Removes the ith "qualifier" element 229 */ 230 void removeQualifier(int i); 231 232 /** 233 * Gets array of all "lookup-method" elements 234 */ 235 org.springframework.schema.beans.LookupMethodDocument.LookupMethod[] getLookupMethodArray(); 236 237 /** 238 * Gets ith "lookup-method" element 239 */ 240 org.springframework.schema.beans.LookupMethodDocument.LookupMethod getLookupMethodArray(int i); 241 242 /** 243 * Returns number of "lookup-method" element 244 */ 245 int sizeOfLookupMethodArray(); 246 247 /** 248 * Sets array of all "lookup-method" element 249 */ 250 void setLookupMethodArray(org.springframework.schema.beans.LookupMethodDocument.LookupMethod[] lookupMethodArray); 251 252 /** 253 * Sets ith "lookup-method" element 254 */ 255 void setLookupMethodArray(int i, org.springframework.schema.beans.LookupMethodDocument.LookupMethod lookupMethod); 256 257 /** 258 * Inserts and returns a new empty value (as xml) as the ith "lookup-method" element 259 */ 260 org.springframework.schema.beans.LookupMethodDocument.LookupMethod insertNewLookupMethod(int i); 261 262 /** 263 * Appends and returns a new empty value (as xml) as the last "lookup-method" element 264 */ 265 org.springframework.schema.beans.LookupMethodDocument.LookupMethod addNewLookupMethod(); 266 267 /** 268 * Removes the ith "lookup-method" element 269 */ 270 void removeLookupMethod(int i); 271 272 /** 273 * Gets array of all "replaced-method" elements 274 */ 275 org.springframework.schema.beans.ReplacedMethodDocument.ReplacedMethod[] getReplacedMethodArray(); 276 277 /** 278 * Gets ith "replaced-method" element 279 */ 280 org.springframework.schema.beans.ReplacedMethodDocument.ReplacedMethod getReplacedMethodArray(int i); 281 282 /** 283 * Returns number of "replaced-method" element 284 */ 285 int sizeOfReplacedMethodArray(); 286 287 /** 288 * Sets array of all "replaced-method" element 289 */ 290 void setReplacedMethodArray(org.springframework.schema.beans.ReplacedMethodDocument.ReplacedMethod[] replacedMethodArray); 291 292 /** 293 * Sets ith "replaced-method" element 294 */ 295 void setReplacedMethodArray(int i, org.springframework.schema.beans.ReplacedMethodDocument.ReplacedMethod replacedMethod); 296 297 /** 298 * Inserts and returns a new empty value (as xml) as the ith "replaced-method" element 299 */ 300 org.springframework.schema.beans.ReplacedMethodDocument.ReplacedMethod insertNewReplacedMethod(int i); 301 302 /** 303 * Appends and returns a new empty value (as xml) as the last "replaced-method" element 304 */ 305 org.springframework.schema.beans.ReplacedMethodDocument.ReplacedMethod addNewReplacedMethod(); 306 307 /** 308 * Removes the ith "replaced-method" element 309 */ 310 void removeReplacedMethod(int i); 311 312 /** 313 * Gets the "name" attribute 314 */ 315 java.lang.String getName(); 316 317 /** 318 * Gets (as xml) the "name" attribute 319 */ 320 org.apache.xmlbeans.XmlString xgetName(); 321 322 /** 323 * True if has "name" attribute 324 */ 325 boolean isSetName(); 326 327 /** 328 * Sets the "name" attribute 329 */ 330 void setName(java.lang.String name); 331 332 /** 333 * Sets (as xml) the "name" attribute 334 */ 335 void xsetName(org.apache.xmlbeans.XmlString name); 336 337 /** 338 * Unsets the "name" attribute 339 */ 340 void unsetName(); 341 342 /** 343 * Gets the "class" attribute 344 */ 345 java.lang.String getClass1(); 346 347 /** 348 * Gets (as xml) the "class" attribute 349 */ 350 org.apache.xmlbeans.XmlString xgetClass1(); 351 352 /** 353 * True if has "class" attribute 354 */ 355 boolean isSetClass1(); 356 357 /** 358 * Sets the "class" attribute 359 */ 360 void setClass1(java.lang.String class1); 361 362 /** 363 * Sets (as xml) the "class" attribute 364 */ 365 void xsetClass1(org.apache.xmlbeans.XmlString class1); 366 367 /** 368 * Unsets the "class" attribute 369 */ 370 void unsetClass1(); 371 372 /** 373 * Gets the "parent" attribute 374 */ 375 java.lang.String getParent(); 376 377 /** 378 * Gets (as xml) the "parent" attribute 379 */ 380 org.apache.xmlbeans.XmlString xgetParent(); 381 382 /** 383 * True if has "parent" attribute 384 */ 385 boolean isSetParent(); 386 387 /** 388 * Sets the "parent" attribute 389 */ 390 void setParent(java.lang.String parent); 391 392 /** 393 * Sets (as xml) the "parent" attribute 394 */ 395 void xsetParent(org.apache.xmlbeans.XmlString parent); 396 397 /** 398 * Unsets the "parent" attribute 399 */ 400 void unsetParent(); 401 402 /** 403 * Gets the "scope" attribute 404 */ 405 java.lang.String getScope(); 406 407 /** 408 * Gets (as xml) the "scope" attribute 409 */ 410 org.apache.xmlbeans.XmlString xgetScope(); 411 412 /** 413 * True if has "scope" attribute 414 */ 415 boolean isSetScope(); 416 417 /** 418 * Sets the "scope" attribute 419 */ 420 void setScope(java.lang.String scope); 421 422 /** 423 * Sets (as xml) the "scope" attribute 424 */ 425 void xsetScope(org.apache.xmlbeans.XmlString scope); 426 427 /** 428 * Unsets the "scope" attribute 429 */ 430 void unsetScope(); 431 432 /** 433 * Gets the "abstract" attribute 434 */ 435 boolean getAbstract(); 436 437 /** 438 * Gets (as xml) the "abstract" attribute 439 */ 440 org.apache.xmlbeans.XmlBoolean xgetAbstract(); 441 442 /** 443 * True if has "abstract" attribute 444 */ 445 boolean isSetAbstract(); 446 447 /** 448 * Sets the "abstract" attribute 449 */ 450 void setAbstract(boolean xabstract); 451 452 /** 453 * Sets (as xml) the "abstract" attribute 454 */ 455 void xsetAbstract(org.apache.xmlbeans.XmlBoolean xabstract); 456 457 /** 458 * Unsets the "abstract" attribute 459 */ 460 void unsetAbstract(); 461 462 /** 463 * Gets the "lazy-init" attribute 464 */ 465 org.springframework.schema.beans.DefaultableBoolean.Enum getLazyInit(); 466 467 /** 468 * Gets (as xml) the "lazy-init" attribute 469 */ 470 org.springframework.schema.beans.DefaultableBoolean xgetLazyInit(); 471 472 /** 473 * True if has "lazy-init" attribute 474 */ 475 boolean isSetLazyInit(); 476 477 /** 478 * Sets the "lazy-init" attribute 479 */ 480 void setLazyInit(org.springframework.schema.beans.DefaultableBoolean.Enum lazyInit); 481 482 /** 483 * Sets (as xml) the "lazy-init" attribute 484 */ 485 void xsetLazyInit(org.springframework.schema.beans.DefaultableBoolean lazyInit); 486 487 /** 488 * Unsets the "lazy-init" attribute 489 */ 490 void unsetLazyInit(); 491 492 /** 493 * Gets the "autowire" attribute 494 */ 495 org.springframework.schema.beans.BeanDocument.Bean.Autowire.Enum getAutowire(); 496 497 /** 498 * Gets (as xml) the "autowire" attribute 499 */ 500 org.springframework.schema.beans.BeanDocument.Bean.Autowire xgetAutowire(); 501 502 /** 503 * True if has "autowire" attribute 504 */ 505 boolean isSetAutowire(); 506 507 /** 508 * Sets the "autowire" attribute 509 */ 510 void setAutowire(org.springframework.schema.beans.BeanDocument.Bean.Autowire.Enum autowire); 511 512 /** 513 * Sets (as xml) the "autowire" attribute 514 */ 515 void xsetAutowire(org.springframework.schema.beans.BeanDocument.Bean.Autowire autowire); 516 517 /** 518 * Unsets the "autowire" attribute 519 */ 520 void unsetAutowire(); 521 522 /** 523 * Gets the "depends-on" attribute 524 */ 525 java.lang.String getDependsOn(); 526 527 /** 528 * Gets (as xml) the "depends-on" attribute 529 */ 530 org.apache.xmlbeans.XmlString xgetDependsOn(); 531 532 /** 533 * True if has "depends-on" attribute 534 */ 535 boolean isSetDependsOn(); 536 537 /** 538 * Sets the "depends-on" attribute 539 */ 540 void setDependsOn(java.lang.String dependsOn); 541 542 /** 543 * Sets (as xml) the "depends-on" attribute 544 */ 545 void xsetDependsOn(org.apache.xmlbeans.XmlString dependsOn); 546 547 /** 548 * Unsets the "depends-on" attribute 549 */ 550 void unsetDependsOn(); 551 552 /** 553 * Gets the "autowire-candidate" attribute 554 */ 555 org.springframework.schema.beans.DefaultableBoolean.Enum getAutowireCandidate(); 556 557 /** 558 * Gets (as xml) the "autowire-candidate" attribute 559 */ 560 org.springframework.schema.beans.DefaultableBoolean xgetAutowireCandidate(); 561 562 /** 563 * True if has "autowire-candidate" attribute 564 */ 565 boolean isSetAutowireCandidate(); 566 567 /** 568 * Sets the "autowire-candidate" attribute 569 */ 570 void setAutowireCandidate(org.springframework.schema.beans.DefaultableBoolean.Enum autowireCandidate); 571 572 /** 573 * Sets (as xml) the "autowire-candidate" attribute 574 */ 575 void xsetAutowireCandidate(org.springframework.schema.beans.DefaultableBoolean autowireCandidate); 576 577 /** 578 * Unsets the "autowire-candidate" attribute 579 */ 580 void unsetAutowireCandidate(); 581 582 /** 583 * Gets the "primary" attribute 584 */ 585 boolean getPrimary(); 586 587 /** 588 * Gets (as xml) the "primary" attribute 589 */ 590 org.apache.xmlbeans.XmlBoolean xgetPrimary(); 591 592 /** 593 * True if has "primary" attribute 594 */ 595 boolean isSetPrimary(); 596 597 /** 598 * Sets the "primary" attribute 599 */ 600 void setPrimary(boolean primary); 601 602 /** 603 * Sets (as xml) the "primary" attribute 604 */ 605 void xsetPrimary(org.apache.xmlbeans.XmlBoolean primary); 606 607 /** 608 * Unsets the "primary" attribute 609 */ 610 void unsetPrimary(); 611 612 /** 613 * Gets the "init-method" attribute 614 */ 615 java.lang.String getInitMethod(); 616 617 /** 618 * Gets (as xml) the "init-method" attribute 619 */ 620 org.apache.xmlbeans.XmlString xgetInitMethod(); 621 622 /** 623 * True if has "init-method" attribute 624 */ 625 boolean isSetInitMethod(); 626 627 /** 628 * Sets the "init-method" attribute 629 */ 630 void setInitMethod(java.lang.String initMethod); 631 632 /** 633 * Sets (as xml) the "init-method" attribute 634 */ 635 void xsetInitMethod(org.apache.xmlbeans.XmlString initMethod); 636 637 /** 638 * Unsets the "init-method" attribute 639 */ 640 void unsetInitMethod(); 641 642 /** 643 * Gets the "destroy-method" attribute 644 */ 645 java.lang.String getDestroyMethod(); 646 647 /** 648 * Gets (as xml) the "destroy-method" attribute 649 */ 650 org.apache.xmlbeans.XmlString xgetDestroyMethod(); 651 652 /** 653 * True if has "destroy-method" attribute 654 */ 655 boolean isSetDestroyMethod(); 656 657 /** 658 * Sets the "destroy-method" attribute 659 */ 660 void setDestroyMethod(java.lang.String destroyMethod); 661 662 /** 663 * Sets (as xml) the "destroy-method" attribute 664 */ 665 void xsetDestroyMethod(org.apache.xmlbeans.XmlString destroyMethod); 666 667 /** 668 * Unsets the "destroy-method" attribute 669 */ 670 void unsetDestroyMethod(); 671 672 /** 673 * Gets the "factory-method" attribute 674 */ 675 java.lang.String getFactoryMethod(); 676 677 /** 678 * Gets (as xml) the "factory-method" attribute 679 */ 680 org.apache.xmlbeans.XmlString xgetFactoryMethod(); 681 682 /** 683 * True if has "factory-method" attribute 684 */ 685 boolean isSetFactoryMethod(); 686 687 /** 688 * Sets the "factory-method" attribute 689 */ 690 void setFactoryMethod(java.lang.String factoryMethod); 691 692 /** 693 * Sets (as xml) the "factory-method" attribute 694 */ 695 void xsetFactoryMethod(org.apache.xmlbeans.XmlString factoryMethod); 696 697 /** 698 * Unsets the "factory-method" attribute 699 */ 700 void unsetFactoryMethod(); 701 702 /** 703 * Gets the "factory-bean" attribute 704 */ 705 java.lang.String getFactoryBean(); 706 707 /** 708 * Gets (as xml) the "factory-bean" attribute 709 */ 710 org.apache.xmlbeans.XmlString xgetFactoryBean(); 711 712 /** 713 * True if has "factory-bean" attribute 714 */ 715 boolean isSetFactoryBean(); 716 717 /** 718 * Sets the "factory-bean" attribute 719 */ 720 void setFactoryBean(java.lang.String factoryBean); 721 722 /** 723 * Sets (as xml) the "factory-bean" attribute 724 */ 725 void xsetFactoryBean(org.apache.xmlbeans.XmlString factoryBean); 726 727 /** 728 * Unsets the "factory-bean" attribute 729 */ 730 void unsetFactoryBean(); 731 732 /** 733 * An XML autowire(@). 734 * 735 * This is an atomic type that is a restriction of org.springframework.schema.beans.BeanDocument$Bean$Autowire. 736 */ 737 public interface Autowire extends org.apache.xmlbeans.XmlNMTOKEN 738 { 739 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 740 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Autowire.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("autowiree657attrtype"); 741 742 org.apache.xmlbeans.StringEnumAbstractBase enumValue(); 743 void set(org.apache.xmlbeans.StringEnumAbstractBase e); 744 745 static final Enum DEFAULT = Enum.forString("default"); 746 static final Enum NO = Enum.forString("no"); 747 static final Enum BY_NAME = Enum.forString("byName"); 748 static final Enum BY_TYPE = Enum.forString("byType"); 749 static final Enum CONSTRUCTOR = Enum.forString("constructor"); 750 751 static final int INT_DEFAULT = Enum.INT_DEFAULT; 752 static final int INT_NO = Enum.INT_NO; 753 static final int INT_BY_NAME = Enum.INT_BY_NAME; 754 static final int INT_BY_TYPE = Enum.INT_BY_TYPE; 755 static final int INT_CONSTRUCTOR = Enum.INT_CONSTRUCTOR; 756 757 /** 758 * Enumeration value class for org.springframework.schema.beans.BeanDocument$Bean$Autowire. 759 * These enum values can be used as follows: 760 * <pre> 761 * enum.toString(); // returns the string value of the enum 762 * enum.intValue(); // returns an int value, useful for switches 763 * // e.g., case Enum.INT_DEFAULT 764 * Enum.forString(s); // returns the enum value for a string 765 * Enum.forInt(i); // returns the enum value for an int 766 * </pre> 767 * Enumeration objects are immutable singleton objects that 768 * can be compared using == object equality. They have no 769 * public constructor. See the constants defined within this 770 * class for all the valid values. 771 */ 772 static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase 773 { 774 /** 775 * Returns the enum value for a string, or null if none. 776 */ 777 public static Enum forString(java.lang.String s) 778 { return (Enum)table.forString(s); } 779 /** 780 * Returns the enum value corresponding to an int, or null if none. 781 */ 782 public static Enum forInt(int i) 783 { return (Enum)table.forInt(i); } 784 785 private Enum(java.lang.String s, int i) 786 { super(s, i); } 787 788 static final int INT_DEFAULT = 1; 789 static final int INT_NO = 2; 790 static final int INT_BY_NAME = 3; 791 static final int INT_BY_TYPE = 4; 792 static final int INT_CONSTRUCTOR = 5; 793 794 public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table = 795 new org.apache.xmlbeans.StringEnumAbstractBase.Table 796 ( 797 new Enum[] 798 { 799 new Enum("default", INT_DEFAULT), 800 new Enum("no", INT_NO), 801 new Enum("byName", INT_BY_NAME), 802 new Enum("byType", INT_BY_TYPE), 803 new Enum("constructor", INT_CONSTRUCTOR), 804 } 805 ); 806 private static final long serialVersionUID = 1L; 807 private java.lang.Object readResolve() { return forInt(intValue()); } 808 } 809 810 /** 811 * A factory class with static methods for creating instances 812 * of this type. 813 */ 814 815 public static final class Factory 816 { 817 public static org.springframework.schema.beans.BeanDocument.Bean.Autowire newValue(java.lang.Object obj) { 818 return (org.springframework.schema.beans.BeanDocument.Bean.Autowire) type.newValue( obj ); } 819 820 public static org.springframework.schema.beans.BeanDocument.Bean.Autowire newInstance() { 821 return (org.springframework.schema.beans.BeanDocument.Bean.Autowire) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 822 823 public static org.springframework.schema.beans.BeanDocument.Bean.Autowire newInstance(org.apache.xmlbeans.XmlOptions options) { 824 return (org.springframework.schema.beans.BeanDocument.Bean.Autowire) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 825 826 private Factory() { } // No instance of this class allowed 827 } 828 } 829 830 /** 831 * A factory class with static methods for creating instances 832 * of this type. 833 */ 834 835 public static final class Factory 836 { 837 public static org.springframework.schema.beans.BeanDocument.Bean newInstance() { 838 return (org.springframework.schema.beans.BeanDocument.Bean) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 839 840 public static org.springframework.schema.beans.BeanDocument.Bean newInstance(org.apache.xmlbeans.XmlOptions options) { 841 return (org.springframework.schema.beans.BeanDocument.Bean) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 842 843 private Factory() { } // No instance of this class allowed 844 } 845 } 846 847 /** 848 * A factory class with static methods for creating instances 849 * of this type. 850 */ 851 852 public static final class Factory 853 { 854 public static org.springframework.schema.beans.BeanDocument newInstance() { 855 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 856 857 public static org.springframework.schema.beans.BeanDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 858 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 859 860 /** @param xmlAsString the string value to parse */ 861 public static org.springframework.schema.beans.BeanDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 862 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 863 864 public static org.springframework.schema.beans.BeanDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 865 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 866 867 /** @param file the file from which to load an xml document */ 868 public static org.springframework.schema.beans.BeanDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 869 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 870 871 public static org.springframework.schema.beans.BeanDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 872 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 873 874 public static org.springframework.schema.beans.BeanDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 875 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 876 877 public static org.springframework.schema.beans.BeanDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 878 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 879 880 public static org.springframework.schema.beans.BeanDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 881 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 882 883 public static org.springframework.schema.beans.BeanDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 884 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 885 886 public static org.springframework.schema.beans.BeanDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 887 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 888 889 public static org.springframework.schema.beans.BeanDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 890 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 891 892 public static org.springframework.schema.beans.BeanDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 893 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 894 895 public static org.springframework.schema.beans.BeanDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 896 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 897 898 public static org.springframework.schema.beans.BeanDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 899 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 900 901 public static org.springframework.schema.beans.BeanDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 902 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 903 904 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 905 public static org.springframework.schema.beans.BeanDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 906 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 907 908 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 909 public static org.springframework.schema.beans.BeanDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 910 return (org.springframework.schema.beans.BeanDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 911 912 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 913 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 { 914 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 915 916 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 917 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 { 918 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 919 920 private Factory() { } // No instance of this class allowed 921 } 922}