001 /* 002 * XML Type: connectorType 003 * Namespace: http://geronimo.apache.org/xml/ns/j2ee/connector-1.2 004 * Java type: org.apache.geronimo.xbeans.geronimo.GerConnectorType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.xbeans.geronimo; 009 010 011 /** 012 * An XML connectorType(@http://geronimo.apache.org/xml/ns/j2ee/connector-1.2). 013 * 014 * This is a complex type. 015 */ 016 public interface GerConnectorType 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(GerConnectorType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s03E398A13B3309475015244D9072E5AF").resolveHandle("connectortype6cdbtype"); 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 array of all "resourceadapter" elements 048 */ 049 org.apache.geronimo.xbeans.geronimo.GerResourceadapterType[] getResourceadapterArray(); 050 051 /** 052 * Gets ith "resourceadapter" element 053 */ 054 org.apache.geronimo.xbeans.geronimo.GerResourceadapterType getResourceadapterArray(int i); 055 056 /** 057 * Returns number of "resourceadapter" element 058 */ 059 int sizeOfResourceadapterArray(); 060 061 /** 062 * Sets array of all "resourceadapter" element 063 */ 064 void setResourceadapterArray(org.apache.geronimo.xbeans.geronimo.GerResourceadapterType[] resourceadapterArray); 065 066 /** 067 * Sets ith "resourceadapter" element 068 */ 069 void setResourceadapterArray(int i, org.apache.geronimo.xbeans.geronimo.GerResourceadapterType resourceadapter); 070 071 /** 072 * Inserts and returns a new empty value (as xml) as the ith "resourceadapter" element 073 */ 074 org.apache.geronimo.xbeans.geronimo.GerResourceadapterType insertNewResourceadapter(int i); 075 076 /** 077 * Appends and returns a new empty value (as xml) as the last "resourceadapter" element 078 */ 079 org.apache.geronimo.xbeans.geronimo.GerResourceadapterType addNewResourceadapter(); 080 081 /** 082 * Removes the ith "resourceadapter" element 083 */ 084 void removeResourceadapter(int i); 085 086 /** 087 * Gets array of all "adminobject" elements 088 */ 089 org.apache.geronimo.xbeans.geronimo.GerAdminobjectType[] getAdminobjectArray(); 090 091 /** 092 * Gets ith "adminobject" element 093 */ 094 org.apache.geronimo.xbeans.geronimo.GerAdminobjectType getAdminobjectArray(int i); 095 096 /** 097 * Returns number of "adminobject" element 098 */ 099 int sizeOfAdminobjectArray(); 100 101 /** 102 * Sets array of all "adminobject" element 103 */ 104 void setAdminobjectArray(org.apache.geronimo.xbeans.geronimo.GerAdminobjectType[] adminobjectArray); 105 106 /** 107 * Sets ith "adminobject" element 108 */ 109 void setAdminobjectArray(int i, org.apache.geronimo.xbeans.geronimo.GerAdminobjectType adminobject); 110 111 /** 112 * Inserts and returns a new empty value (as xml) as the ith "adminobject" element 113 */ 114 org.apache.geronimo.xbeans.geronimo.GerAdminobjectType insertNewAdminobject(int i); 115 116 /** 117 * Appends and returns a new empty value (as xml) as the last "adminobject" element 118 */ 119 org.apache.geronimo.xbeans.geronimo.GerAdminobjectType addNewAdminobject(); 120 121 /** 122 * Removes the ith "adminobject" element 123 */ 124 void removeAdminobject(int i); 125 126 /** 127 * Gets array of all "service" elements 128 */ 129 org.apache.geronimo.deployment.xbeans.AbstractServiceType[] getServiceArray(); 130 131 /** 132 * Gets ith "service" element 133 */ 134 org.apache.geronimo.deployment.xbeans.AbstractServiceType getServiceArray(int i); 135 136 /** 137 * Returns number of "service" element 138 */ 139 int sizeOfServiceArray(); 140 141 /** 142 * Sets array of all "service" element 143 */ 144 void setServiceArray(org.apache.geronimo.deployment.xbeans.AbstractServiceType[] serviceArray); 145 146 /** 147 * Sets ith "service" element 148 */ 149 void setServiceArray(int i, org.apache.geronimo.deployment.xbeans.AbstractServiceType service); 150 151 /** 152 * Inserts and returns a new empty value (as xml) as the ith "service" element 153 */ 154 org.apache.geronimo.deployment.xbeans.AbstractServiceType insertNewService(int i); 155 156 /** 157 * Appends and returns a new empty value (as xml) as the last "service" element 158 */ 159 org.apache.geronimo.deployment.xbeans.AbstractServiceType addNewService(); 160 161 /** 162 * Removes the ith "service" element 163 */ 164 void removeService(int i); 165 166 /** 167 * A factory class with static methods for creating instances 168 * of this type. 169 */ 170 171 public static final class Factory 172 { 173 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType newInstance() { 174 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 175 176 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType newInstance(org.apache.xmlbeans.XmlOptions options) { 177 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 178 179 /** @param xmlAsString the string value to parse */ 180 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 181 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 182 183 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 184 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 185 186 /** @param file the file from which to load an xml document */ 187 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 188 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 189 190 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 191 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 192 193 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 194 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 195 196 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 197 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 198 199 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 200 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 201 202 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 203 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 204 205 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 206 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 207 208 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 209 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 210 211 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 212 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 213 214 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 215 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 216 217 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 218 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 219 220 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 221 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 222 223 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 224 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 225 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 226 227 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 228 public static org.apache.geronimo.xbeans.geronimo.GerConnectorType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 229 return (org.apache.geronimo.xbeans.geronimo.GerConnectorType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 230 231 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 232 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 { 233 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 234 235 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 236 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 { 237 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 238 239 private Factory() { } // No instance of this class allowed 240 } 241 }