001 /* 002 * XML Type: web-appType 003 * Namespace: http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1 004 * Java type: org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.web.tomcat; 009 010 011 /** 012 * An XML web-appType(@http://geronimo.apache.org/xml/ns/j2ee/web/tomcat-2.0.1). 013 * 014 * This is a complex type. 015 */ 016 public interface TomcatWebAppType extends org.apache.xmlbeans.XmlObject 017 { 018 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TomcatWebAppType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s0FDBAD23AB7CAC110E46D555094AA20E").resolveHandle("webapptype0bfetype"); 020 021 /** 022 * Gets the "environment" element 023 */ 024 org.apache.geronimo.deployment.xbeans.EnvironmentType getEnvironment(); 025 026 /** 027 * True if has "environment" element 028 */ 029 boolean isSetEnvironment(); 030 031 /** 032 * Sets the "environment" element 033 */ 034 void setEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environment); 035 036 /** 037 * Appends and returns a new empty "environment" element 038 */ 039 org.apache.geronimo.deployment.xbeans.EnvironmentType addNewEnvironment(); 040 041 /** 042 * Unsets the "environment" element 043 */ 044 void unsetEnvironment(); 045 046 /** 047 * Gets the "context-root" element 048 */ 049 java.lang.String getContextRoot(); 050 051 /** 052 * Gets (as xml) the "context-root" element 053 */ 054 org.apache.xmlbeans.XmlString xgetContextRoot(); 055 056 /** 057 * True if has "context-root" element 058 */ 059 boolean isSetContextRoot(); 060 061 /** 062 * Sets the "context-root" element 063 */ 064 void setContextRoot(java.lang.String contextRoot); 065 066 /** 067 * Sets (as xml) the "context-root" element 068 */ 069 void xsetContextRoot(org.apache.xmlbeans.XmlString contextRoot); 070 071 /** 072 * Unsets the "context-root" element 073 */ 074 void unsetContextRoot(); 075 076 /** 077 * Gets the "work-dir" element 078 */ 079 java.lang.String getWorkDir(); 080 081 /** 082 * Gets (as xml) the "work-dir" element 083 */ 084 org.apache.xmlbeans.XmlString xgetWorkDir(); 085 086 /** 087 * True if has "work-dir" element 088 */ 089 boolean isSetWorkDir(); 090 091 /** 092 * Sets the "work-dir" element 093 */ 094 void setWorkDir(java.lang.String workDir); 095 096 /** 097 * Sets (as xml) the "work-dir" element 098 */ 099 void xsetWorkDir(org.apache.xmlbeans.XmlString workDir); 100 101 /** 102 * Unsets the "work-dir" element 103 */ 104 void unsetWorkDir(); 105 106 /** 107 * Gets the "clustering" element 108 */ 109 org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractClusteringType getClustering(); 110 111 /** 112 * True if has "clustering" element 113 */ 114 boolean isSetClustering(); 115 116 /** 117 * Sets the "clustering" element 118 */ 119 void setClustering(org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractClusteringType clustering); 120 121 /** 122 * Appends and returns a new empty "clustering" element 123 */ 124 org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractClusteringType addNewClustering(); 125 126 /** 127 * Unsets the "clustering" element 128 */ 129 void unsetClustering(); 130 131 /** 132 * Gets the "web-container" element 133 */ 134 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanLocatorType getWebContainer(); 135 136 /** 137 * True if has "web-container" element 138 */ 139 boolean isSetWebContainer(); 140 141 /** 142 * Sets the "web-container" element 143 */ 144 void setWebContainer(org.apache.geronimo.xbeans.geronimo.naming.GerGbeanLocatorType webContainer); 145 146 /** 147 * Appends and returns a new empty "web-container" element 148 */ 149 org.apache.geronimo.xbeans.geronimo.naming.GerGbeanLocatorType addNewWebContainer(); 150 151 /** 152 * Unsets the "web-container" element 153 */ 154 void unsetWebContainer(); 155 156 /** 157 * Gets the "host" element 158 */ 159 java.lang.String getHost(); 160 161 /** 162 * Gets (as xml) the "host" element 163 */ 164 org.apache.xmlbeans.XmlString xgetHost(); 165 166 /** 167 * True if has "host" element 168 */ 169 boolean isSetHost(); 170 171 /** 172 * Sets the "host" element 173 */ 174 void setHost(java.lang.String host); 175 176 /** 177 * Sets (as xml) the "host" element 178 */ 179 void xsetHost(org.apache.xmlbeans.XmlString host); 180 181 /** 182 * Unsets the "host" element 183 */ 184 void unsetHost(); 185 186 /** 187 * Gets the "cross-context" element 188 */ 189 org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatEmptyType getCrossContext(); 190 191 /** 192 * True if has "cross-context" element 193 */ 194 boolean isSetCrossContext(); 195 196 /** 197 * Sets the "cross-context" element 198 */ 199 void setCrossContext(org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatEmptyType crossContext); 200 201 /** 202 * Appends and returns a new empty "cross-context" element 203 */ 204 org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatEmptyType addNewCrossContext(); 205 206 /** 207 * Unsets the "cross-context" element 208 */ 209 void unsetCrossContext(); 210 211 /** 212 * Gets the "disable-cookies" element 213 */ 214 org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatEmptyType getDisableCookies(); 215 216 /** 217 * True if has "disable-cookies" element 218 */ 219 boolean isSetDisableCookies(); 220 221 /** 222 * Sets the "disable-cookies" element 223 */ 224 void setDisableCookies(org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatEmptyType disableCookies); 225 226 /** 227 * Appends and returns a new empty "disable-cookies" element 228 */ 229 org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatEmptyType addNewDisableCookies(); 230 231 /** 232 * Unsets the "disable-cookies" element 233 */ 234 void unsetDisableCookies(); 235 236 /** 237 * Gets the "valve-chain" element 238 */ 239 java.lang.String getValveChain(); 240 241 /** 242 * Gets (as xml) the "valve-chain" element 243 */ 244 org.apache.xmlbeans.XmlString xgetValveChain(); 245 246 /** 247 * True if has "valve-chain" element 248 */ 249 boolean isSetValveChain(); 250 251 /** 252 * Sets the "valve-chain" element 253 */ 254 void setValveChain(java.lang.String valveChain); 255 256 /** 257 * Sets (as xml) the "valve-chain" element 258 */ 259 void xsetValveChain(org.apache.xmlbeans.XmlString valveChain); 260 261 /** 262 * Unsets the "valve-chain" element 263 */ 264 void unsetValveChain(); 265 266 /** 267 * Gets the "listener-chain" element 268 */ 269 java.lang.String getListenerChain(); 270 271 /** 272 * Gets (as xml) the "listener-chain" element 273 */ 274 org.apache.xmlbeans.XmlString xgetListenerChain(); 275 276 /** 277 * True if has "listener-chain" element 278 */ 279 boolean isSetListenerChain(); 280 281 /** 282 * Sets the "listener-chain" element 283 */ 284 void setListenerChain(java.lang.String listenerChain); 285 286 /** 287 * Sets (as xml) the "listener-chain" element 288 */ 289 void xsetListenerChain(org.apache.xmlbeans.XmlString listenerChain); 290 291 /** 292 * Unsets the "listener-chain" element 293 */ 294 void unsetListenerChain(); 295 296 /** 297 * Gets the "tomcat-realm" element 298 */ 299 java.lang.String getTomcatRealm(); 300 301 /** 302 * Gets (as xml) the "tomcat-realm" element 303 */ 304 org.apache.xmlbeans.XmlString xgetTomcatRealm(); 305 306 /** 307 * True if has "tomcat-realm" element 308 */ 309 boolean isSetTomcatRealm(); 310 311 /** 312 * Sets the "tomcat-realm" element 313 */ 314 void setTomcatRealm(java.lang.String tomcatRealm); 315 316 /** 317 * Sets (as xml) the "tomcat-realm" element 318 */ 319 void xsetTomcatRealm(org.apache.xmlbeans.XmlString tomcatRealm); 320 321 /** 322 * Unsets the "tomcat-realm" element 323 */ 324 void unsetTomcatRealm(); 325 326 /** 327 * Gets the "manager" element 328 */ 329 java.lang.String getManager(); 330 331 /** 332 * Gets (as xml) the "manager" element 333 */ 334 org.apache.xmlbeans.XmlString xgetManager(); 335 336 /** 337 * True if has "manager" element 338 */ 339 boolean isSetManager(); 340 341 /** 342 * Sets the "manager" element 343 */ 344 void setManager(java.lang.String manager); 345 346 /** 347 * Sets (as xml) the "manager" element 348 */ 349 void xsetManager(org.apache.xmlbeans.XmlString manager); 350 351 /** 352 * Unsets the "manager" element 353 */ 354 void unsetManager(); 355 356 /** 357 * Gets the "cluster" element 358 */ 359 java.lang.String getCluster(); 360 361 /** 362 * Gets (as xml) the "cluster" element 363 */ 364 org.apache.xmlbeans.XmlString xgetCluster(); 365 366 /** 367 * True if has "cluster" element 368 */ 369 boolean isSetCluster(); 370 371 /** 372 * Sets the "cluster" element 373 */ 374 void setCluster(java.lang.String cluster); 375 376 /** 377 * Sets (as xml) the "cluster" element 378 */ 379 void xsetCluster(org.apache.xmlbeans.XmlString cluster); 380 381 /** 382 * Unsets the "cluster" element 383 */ 384 void unsetCluster(); 385 386 /** 387 * Gets array of all "abstract-naming-entry" elements 388 */ 389 org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType[] getAbstractNamingEntryArray(); 390 391 /** 392 * Gets ith "abstract-naming-entry" element 393 */ 394 org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType getAbstractNamingEntryArray(int i); 395 396 /** 397 * Returns number of "abstract-naming-entry" element 398 */ 399 int sizeOfAbstractNamingEntryArray(); 400 401 /** 402 * Sets array of all "abstract-naming-entry" element 403 */ 404 void setAbstractNamingEntryArray(org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType[] abstractNamingEntryArray); 405 406 /** 407 * Sets ith "abstract-naming-entry" element 408 */ 409 void setAbstractNamingEntryArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType abstractNamingEntry); 410 411 /** 412 * Inserts and returns a new empty value (as xml) as the ith "abstract-naming-entry" element 413 */ 414 org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType insertNewAbstractNamingEntry(int i); 415 416 /** 417 * Appends and returns a new empty value (as xml) as the last "abstract-naming-entry" element 418 */ 419 org.apache.geronimo.xbeans.geronimo.naming.GerAbstractNamingEntryType addNewAbstractNamingEntry(); 420 421 /** 422 * Removes the ith "abstract-naming-entry" element 423 */ 424 void removeAbstractNamingEntry(int i); 425 426 /** 427 * Gets array of all "ejb-ref" elements 428 */ 429 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType[] getEjbRefArray(); 430 431 /** 432 * Gets ith "ejb-ref" element 433 */ 434 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType getEjbRefArray(int i); 435 436 /** 437 * Returns number of "ejb-ref" element 438 */ 439 int sizeOfEjbRefArray(); 440 441 /** 442 * Sets array of all "ejb-ref" element 443 */ 444 void setEjbRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType[] ejbRefArray); 445 446 /** 447 * Sets ith "ejb-ref" element 448 */ 449 void setEjbRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType ejbRef); 450 451 /** 452 * Inserts and returns a new empty value (as xml) as the ith "ejb-ref" element 453 */ 454 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType insertNewEjbRef(int i); 455 456 /** 457 * Appends and returns a new empty value (as xml) as the last "ejb-ref" element 458 */ 459 org.apache.geronimo.xbeans.geronimo.naming.GerEjbRefType addNewEjbRef(); 460 461 /** 462 * Removes the ith "ejb-ref" element 463 */ 464 void removeEjbRef(int i); 465 466 /** 467 * Gets array of all "ejb-local-ref" elements 468 */ 469 org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType[] getEjbLocalRefArray(); 470 471 /** 472 * Gets ith "ejb-local-ref" element 473 */ 474 org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType getEjbLocalRefArray(int i); 475 476 /** 477 * Returns number of "ejb-local-ref" element 478 */ 479 int sizeOfEjbLocalRefArray(); 480 481 /** 482 * Sets array of all "ejb-local-ref" element 483 */ 484 void setEjbLocalRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType[] ejbLocalRefArray); 485 486 /** 487 * Sets ith "ejb-local-ref" element 488 */ 489 void setEjbLocalRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType ejbLocalRef); 490 491 /** 492 * Inserts and returns a new empty value (as xml) as the ith "ejb-local-ref" element 493 */ 494 org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType insertNewEjbLocalRef(int i); 495 496 /** 497 * Appends and returns a new empty value (as xml) as the last "ejb-local-ref" element 498 */ 499 org.apache.geronimo.xbeans.geronimo.naming.GerEjbLocalRefType addNewEjbLocalRef(); 500 501 /** 502 * Removes the ith "ejb-local-ref" element 503 */ 504 void removeEjbLocalRef(int i); 505 506 /** 507 * Gets array of all "service-ref" elements 508 */ 509 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType[] getServiceRefArray(); 510 511 /** 512 * Gets ith "service-ref" element 513 */ 514 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType getServiceRefArray(int i); 515 516 /** 517 * Returns number of "service-ref" element 518 */ 519 int sizeOfServiceRefArray(); 520 521 /** 522 * Sets array of all "service-ref" element 523 */ 524 void setServiceRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType[] serviceRefArray); 525 526 /** 527 * Sets ith "service-ref" element 528 */ 529 void setServiceRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType serviceRef); 530 531 /** 532 * Inserts and returns a new empty value (as xml) as the ith "service-ref" element 533 */ 534 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType insertNewServiceRef(int i); 535 536 /** 537 * Appends and returns a new empty value (as xml) as the last "service-ref" element 538 */ 539 org.apache.geronimo.xbeans.geronimo.naming.GerServiceRefType addNewServiceRef(); 540 541 /** 542 * Removes the ith "service-ref" element 543 */ 544 void removeServiceRef(int i); 545 546 /** 547 * Gets array of all "resource-ref" elements 548 */ 549 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType[] getResourceRefArray(); 550 551 /** 552 * Gets ith "resource-ref" element 553 */ 554 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType getResourceRefArray(int i); 555 556 /** 557 * Returns number of "resource-ref" element 558 */ 559 int sizeOfResourceRefArray(); 560 561 /** 562 * Sets array of all "resource-ref" element 563 */ 564 void setResourceRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType[] resourceRefArray); 565 566 /** 567 * Sets ith "resource-ref" element 568 */ 569 void setResourceRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType resourceRef); 570 571 /** 572 * Inserts and returns a new empty value (as xml) as the ith "resource-ref" element 573 */ 574 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType insertNewResourceRef(int i); 575 576 /** 577 * Appends and returns a new empty value (as xml) as the last "resource-ref" element 578 */ 579 org.apache.geronimo.xbeans.geronimo.naming.GerResourceRefType addNewResourceRef(); 580 581 /** 582 * Removes the ith "resource-ref" element 583 */ 584 void removeResourceRef(int i); 585 586 /** 587 * Gets array of all "resource-env-ref" elements 588 */ 589 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType[] getResourceEnvRefArray(); 590 591 /** 592 * Gets ith "resource-env-ref" element 593 */ 594 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType getResourceEnvRefArray(int i); 595 596 /** 597 * Returns number of "resource-env-ref" element 598 */ 599 int sizeOfResourceEnvRefArray(); 600 601 /** 602 * Sets array of all "resource-env-ref" element 603 */ 604 void setResourceEnvRefArray(org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType[] resourceEnvRefArray); 605 606 /** 607 * Sets ith "resource-env-ref" element 608 */ 609 void setResourceEnvRefArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType resourceEnvRef); 610 611 /** 612 * Inserts and returns a new empty value (as xml) as the ith "resource-env-ref" element 613 */ 614 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType insertNewResourceEnvRef(int i); 615 616 /** 617 * Appends and returns a new empty value (as xml) as the last "resource-env-ref" element 618 */ 619 org.apache.geronimo.xbeans.geronimo.naming.GerResourceEnvRefType addNewResourceEnvRef(); 620 621 /** 622 * Removes the ith "resource-env-ref" element 623 */ 624 void removeResourceEnvRef(int i); 625 626 /** 627 * Gets array of all "message-destination" elements 628 */ 629 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType[] getMessageDestinationArray(); 630 631 /** 632 * Gets ith "message-destination" element 633 */ 634 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType getMessageDestinationArray(int i); 635 636 /** 637 * Returns number of "message-destination" element 638 */ 639 int sizeOfMessageDestinationArray(); 640 641 /** 642 * Sets array of all "message-destination" element 643 */ 644 void setMessageDestinationArray(org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType[] messageDestinationArray); 645 646 /** 647 * Sets ith "message-destination" element 648 */ 649 void setMessageDestinationArray(int i, org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType messageDestination); 650 651 /** 652 * Inserts and returns a new empty value (as xml) as the ith "message-destination" element 653 */ 654 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType insertNewMessageDestination(int i); 655 656 /** 657 * Appends and returns a new empty value (as xml) as the last "message-destination" element 658 */ 659 org.apache.geronimo.xbeans.geronimo.naming.GerMessageDestinationType addNewMessageDestination(); 660 661 /** 662 * Removes the ith "message-destination" element 663 */ 664 void removeMessageDestination(int i); 665 666 /** 667 * Gets the "security-realm-name" element 668 */ 669 java.lang.String getSecurityRealmName(); 670 671 /** 672 * Gets (as xml) the "security-realm-name" element 673 */ 674 org.apache.xmlbeans.XmlString xgetSecurityRealmName(); 675 676 /** 677 * True if has "security-realm-name" element 678 */ 679 boolean isSetSecurityRealmName(); 680 681 /** 682 * Sets the "security-realm-name" element 683 */ 684 void setSecurityRealmName(java.lang.String securityRealmName); 685 686 /** 687 * Sets (as xml) the "security-realm-name" element 688 */ 689 void xsetSecurityRealmName(org.apache.xmlbeans.XmlString securityRealmName); 690 691 /** 692 * Unsets the "security-realm-name" element 693 */ 694 void unsetSecurityRealmName(); 695 696 /** 697 * Gets the "security" element 698 */ 699 org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType getSecurity(); 700 701 /** 702 * True if has "security" element 703 */ 704 boolean isSetSecurity(); 705 706 /** 707 * Sets the "security" element 708 */ 709 void setSecurity(org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType security); 710 711 /** 712 * Appends and returns a new empty "security" element 713 */ 714 org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType addNewSecurity(); 715 716 /** 717 * Unsets the "security" element 718 */ 719 void unsetSecurity(); 720 721 /** 722 * Gets array of all "service" elements 723 */ 724 org.apache.geronimo.deployment.xbeans.AbstractServiceType[] getServiceArray(); 725 726 /** 727 * Gets ith "service" element 728 */ 729 org.apache.geronimo.deployment.xbeans.AbstractServiceType getServiceArray(int i); 730 731 /** 732 * Returns number of "service" element 733 */ 734 int sizeOfServiceArray(); 735 736 /** 737 * Sets array of all "service" element 738 */ 739 void setServiceArray(org.apache.geronimo.deployment.xbeans.AbstractServiceType[] serviceArray); 740 741 /** 742 * Sets ith "service" element 743 */ 744 void setServiceArray(int i, org.apache.geronimo.deployment.xbeans.AbstractServiceType service); 745 746 /** 747 * Inserts and returns a new empty value (as xml) as the ith "service" element 748 */ 749 org.apache.geronimo.deployment.xbeans.AbstractServiceType insertNewService(int i); 750 751 /** 752 * Appends and returns a new empty value (as xml) as the last "service" element 753 */ 754 org.apache.geronimo.deployment.xbeans.AbstractServiceType addNewService(); 755 756 /** 757 * Removes the ith "service" element 758 */ 759 void removeService(int i); 760 761 /** 762 * Gets array of all "persistence" elements 763 */ 764 org.apache.geronimo.xbeans.persistence.PersistenceDocument.Persistence[] getPersistenceArray(); 765 766 /** 767 * Gets ith "persistence" element 768 */ 769 org.apache.geronimo.xbeans.persistence.PersistenceDocument.Persistence getPersistenceArray(int i); 770 771 /** 772 * Returns number of "persistence" element 773 */ 774 int sizeOfPersistenceArray(); 775 776 /** 777 * Sets array of all "persistence" element 778 */ 779 void setPersistenceArray(org.apache.geronimo.xbeans.persistence.PersistenceDocument.Persistence[] persistenceArray); 780 781 /** 782 * Sets ith "persistence" element 783 */ 784 void setPersistenceArray(int i, org.apache.geronimo.xbeans.persistence.PersistenceDocument.Persistence persistence); 785 786 /** 787 * Inserts and returns a new empty value (as xml) as the ith "persistence" element 788 */ 789 org.apache.geronimo.xbeans.persistence.PersistenceDocument.Persistence insertNewPersistence(int i); 790 791 /** 792 * Appends and returns a new empty value (as xml) as the last "persistence" element 793 */ 794 org.apache.geronimo.xbeans.persistence.PersistenceDocument.Persistence addNewPersistence(); 795 796 /** 797 * Removes the ith "persistence" element 798 */ 799 void removePersistence(int i); 800 801 /** 802 * A factory class with static methods for creating instances 803 * of this type. 804 */ 805 806 public static final class Factory 807 { 808 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType newInstance() { 809 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 810 811 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType newInstance(org.apache.xmlbeans.XmlOptions options) { 812 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 813 814 /** @param xmlAsString the string value to parse */ 815 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 816 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 817 818 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 819 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 820 821 /** @param file the file from which to load an xml document */ 822 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 823 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 824 825 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 826 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 827 828 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 829 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 830 831 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 832 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 833 834 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 835 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 836 837 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 838 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 839 840 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 841 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 842 843 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 844 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 845 846 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 847 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 848 849 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 850 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 851 852 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 853 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 854 855 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 856 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 857 858 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 859 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 860 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 861 862 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 863 public static org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 864 return (org.apache.geronimo.xbeans.geronimo.web.tomcat.TomcatWebAppType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 865 866 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 867 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 { 868 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 869 870 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 871 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 { 872 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 873 874 private Factory() { } // No instance of this class allowed 875 } 876 }