001 /* 002 * XML Type: applicationType 003 * Namespace: http://geronimo.apache.org/xml/ns/j2ee/application-2.0 004 * Java type: org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo.j2ee; 009 010 011 /** 012 * An XML applicationType(@http://geronimo.apache.org/xml/ns/j2ee/application-2.0). 013 * 014 * This is a complex type. 015 */ 016 public interface GerApplicationType 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(GerApplicationType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s2769DD7041FA7A7F08AC25A8C20EE434").resolveHandle("applicationtype917atype"); 020 021 /** 022 * Gets the "environment" element 023 */ 024 org.apache.geronimo.deployment.xbeans.EnvironmentType getEnvironment(); 025 026 /** 027 * Sets the "environment" element 028 */ 029 void setEnvironment(org.apache.geronimo.deployment.xbeans.EnvironmentType environment); 030 031 /** 032 * Appends and returns a new empty "environment" element 033 */ 034 org.apache.geronimo.deployment.xbeans.EnvironmentType addNewEnvironment(); 035 036 /** 037 * Gets array of all "module" elements 038 */ 039 org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType[] getModuleArray(); 040 041 /** 042 * Gets ith "module" element 043 */ 044 org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType getModuleArray(int i); 045 046 /** 047 * Returns number of "module" element 048 */ 049 int sizeOfModuleArray(); 050 051 /** 052 * Sets array of all "module" element 053 */ 054 void setModuleArray(org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType[] moduleArray); 055 056 /** 057 * Sets ith "module" element 058 */ 059 void setModuleArray(int i, org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType module); 060 061 /** 062 * Inserts and returns a new empty value (as xml) as the ith "module" element 063 */ 064 org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType insertNewModule(int i); 065 066 /** 067 * Appends and returns a new empty value (as xml) as the last "module" element 068 */ 069 org.apache.geronimo.xbeans.geronimo.j2ee.GerModuleType addNewModule(); 070 071 /** 072 * Removes the ith "module" element 073 */ 074 void removeModule(int i); 075 076 /** 077 * Gets array of all "ext-module" elements 078 */ 079 org.apache.geronimo.xbeans.geronimo.j2ee.GerExtModuleType[] getExtModuleArray(); 080 081 /** 082 * Gets ith "ext-module" element 083 */ 084 org.apache.geronimo.xbeans.geronimo.j2ee.GerExtModuleType getExtModuleArray(int i); 085 086 /** 087 * Returns number of "ext-module" element 088 */ 089 int sizeOfExtModuleArray(); 090 091 /** 092 * Sets array of all "ext-module" element 093 */ 094 void setExtModuleArray(org.apache.geronimo.xbeans.geronimo.j2ee.GerExtModuleType[] extModuleArray); 095 096 /** 097 * Sets ith "ext-module" element 098 */ 099 void setExtModuleArray(int i, org.apache.geronimo.xbeans.geronimo.j2ee.GerExtModuleType extModule); 100 101 /** 102 * Inserts and returns a new empty value (as xml) as the ith "ext-module" element 103 */ 104 org.apache.geronimo.xbeans.geronimo.j2ee.GerExtModuleType insertNewExtModule(int i); 105 106 /** 107 * Appends and returns a new empty value (as xml) as the last "ext-module" element 108 */ 109 org.apache.geronimo.xbeans.geronimo.j2ee.GerExtModuleType addNewExtModule(); 110 111 /** 112 * Removes the ith "ext-module" element 113 */ 114 void removeExtModule(int i); 115 116 /** 117 * Gets the "security" element 118 */ 119 org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType getSecurity(); 120 121 /** 122 * True if has "security" element 123 */ 124 boolean isSetSecurity(); 125 126 /** 127 * Sets the "security" element 128 */ 129 void setSecurity(org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType security); 130 131 /** 132 * Appends and returns a new empty "security" element 133 */ 134 org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractSecurityType addNewSecurity(); 135 136 /** 137 * Unsets the "security" element 138 */ 139 void unsetSecurity(); 140 141 /** 142 * Gets array of all "service" elements 143 */ 144 org.apache.geronimo.deployment.xbeans.AbstractServiceType[] getServiceArray(); 145 146 /** 147 * Gets ith "service" element 148 */ 149 org.apache.geronimo.deployment.xbeans.AbstractServiceType getServiceArray(int i); 150 151 /** 152 * Returns number of "service" element 153 */ 154 int sizeOfServiceArray(); 155 156 /** 157 * Sets array of all "service" element 158 */ 159 void setServiceArray(org.apache.geronimo.deployment.xbeans.AbstractServiceType[] serviceArray); 160 161 /** 162 * Sets ith "service" element 163 */ 164 void setServiceArray(int i, org.apache.geronimo.deployment.xbeans.AbstractServiceType service); 165 166 /** 167 * Inserts and returns a new empty value (as xml) as the ith "service" element 168 */ 169 org.apache.geronimo.deployment.xbeans.AbstractServiceType insertNewService(int i); 170 171 /** 172 * Appends and returns a new empty value (as xml) as the last "service" element 173 */ 174 org.apache.geronimo.deployment.xbeans.AbstractServiceType addNewService(); 175 176 /** 177 * Removes the ith "service" element 178 */ 179 void removeService(int i); 180 181 /** 182 * Gets the "application-name" attribute 183 */ 184 java.lang.String getApplicationName(); 185 186 /** 187 * Gets (as xml) the "application-name" attribute 188 */ 189 org.apache.xmlbeans.XmlString xgetApplicationName(); 190 191 /** 192 * True if has "application-name" attribute 193 */ 194 boolean isSetApplicationName(); 195 196 /** 197 * Sets the "application-name" attribute 198 */ 199 void setApplicationName(java.lang.String applicationName); 200 201 /** 202 * Sets (as xml) the "application-name" attribute 203 */ 204 void xsetApplicationName(org.apache.xmlbeans.XmlString applicationName); 205 206 /** 207 * Unsets the "application-name" attribute 208 */ 209 void unsetApplicationName(); 210 211 /** 212 * A factory class with static methods for creating instances 213 * of this type. 214 */ 215 216 public static final class Factory 217 { 218 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType newInstance() { 219 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 220 221 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType newInstance(org.apache.xmlbeans.XmlOptions options) { 222 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 223 224 /** @param xmlAsString the string value to parse */ 225 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 226 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 227 228 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 229 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 230 231 /** @param file the file from which to load an xml document */ 232 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 233 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 234 235 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 236 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 237 238 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 239 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 240 241 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 242 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 243 244 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 245 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 246 247 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 248 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 249 250 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 251 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 252 253 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 254 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 255 256 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 257 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 258 259 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 260 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 261 262 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 263 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 264 265 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 266 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 267 268 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 269 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 270 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 271 272 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 273 public static org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 274 return (org.apache.geronimo.xbeans.geronimo.j2ee.GerApplicationType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 275 276 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 277 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 { 278 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 279 280 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 281 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 { 282 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 283 284 private Factory() { } // No instance of this class allowed 285 } 286 }