001 /* 002 * XML Type: SSLType 003 * Namespace: http://openejb.apache.org/xml/ns/corba-tss-config-2.1 004 * Java type: org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType 005 * 006 * Automatically generated - do not modify. 007 */ 008 package org.apache.geronimo.corba.xbeans.csiv2.tss; 009 010 011 /** 012 * An XML SSLType(@http://openejb.apache.org/xml/ns/corba-tss-config-2.1). 013 * 014 * This is a complex type. 015 */ 016 public interface TSSSSLType 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(TSSSSLType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACC41411FB14C20ABEF817C47DD1DF").resolveHandle("ssltype071ctype"); 020 021 /** 022 * Gets array of all "description" elements 023 */ 024 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSDescriptionType[] getDescriptionArray(); 025 026 /** 027 * Gets ith "description" element 028 */ 029 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSDescriptionType getDescriptionArray(int i); 030 031 /** 032 * Returns number of "description" element 033 */ 034 int sizeOfDescriptionArray(); 035 036 /** 037 * Sets array of all "description" element 038 */ 039 void setDescriptionArray(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSDescriptionType[] descriptionArray); 040 041 /** 042 * Sets ith "description" element 043 */ 044 void setDescriptionArray(int i, org.apache.geronimo.corba.xbeans.csiv2.tss.TSSDescriptionType description); 045 046 /** 047 * Inserts and returns a new empty value (as xml) as the ith "description" element 048 */ 049 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSDescriptionType insertNewDescription(int i); 050 051 /** 052 * Appends and returns a new empty value (as xml) as the last "description" element 053 */ 054 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSDescriptionType addNewDescription(); 055 056 /** 057 * Removes the ith "description" element 058 */ 059 void removeDescription(int i); 060 061 /** 062 * Gets the "supports" element 063 */ 064 java.util.List getSupports(); 065 066 /** 067 * Gets (as xml) the "supports" element 068 */ 069 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSAssociationOptionList xgetSupports(); 070 071 /** 072 * Sets the "supports" element 073 */ 074 void setSupports(java.util.List supports); 075 076 /** 077 * Sets (as xml) the "supports" element 078 */ 079 void xsetSupports(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSAssociationOptionList supports); 080 081 /** 082 * Gets the "requires" element 083 */ 084 java.util.List getRequires(); 085 086 /** 087 * Gets (as xml) the "requires" element 088 */ 089 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSAssociationOptionList xgetRequires(); 090 091 /** 092 * Sets the "requires" element 093 */ 094 void setRequires(java.util.List requires); 095 096 /** 097 * Sets (as xml) the "requires" element 098 */ 099 void xsetRequires(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSAssociationOptionList requires); 100 101 /** 102 * Gets the "trustEveryone" element 103 */ 104 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTrustEveryoneType getTrustEveryone(); 105 106 /** 107 * True if has "trustEveryone" element 108 */ 109 boolean isSetTrustEveryone(); 110 111 /** 112 * Sets the "trustEveryone" element 113 */ 114 void setTrustEveryone(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTrustEveryoneType trustEveryone); 115 116 /** 117 * Appends and returns a new empty "trustEveryone" element 118 */ 119 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTrustEveryoneType addNewTrustEveryone(); 120 121 /** 122 * Unsets the "trustEveryone" element 123 */ 124 void unsetTrustEveryone(); 125 126 /** 127 * Gets the "trustNoone" element 128 */ 129 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTrustNooneType getTrustNoone(); 130 131 /** 132 * True if has "trustNoone" element 133 */ 134 boolean isSetTrustNoone(); 135 136 /** 137 * Sets the "trustNoone" element 138 */ 139 void setTrustNoone(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTrustNooneType trustNoone); 140 141 /** 142 * Appends and returns a new empty "trustNoone" element 143 */ 144 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSTrustNooneType addNewTrustNoone(); 145 146 /** 147 * Unsets the "trustNoone" element 148 */ 149 void unsetTrustNoone(); 150 151 /** 152 * Gets the "trustList" element 153 */ 154 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType.TrustList getTrustList(); 155 156 /** 157 * True if has "trustList" element 158 */ 159 boolean isSetTrustList(); 160 161 /** 162 * Sets the "trustList" element 163 */ 164 void setTrustList(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType.TrustList trustList); 165 166 /** 167 * Appends and returns a new empty "trustList" element 168 */ 169 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType.TrustList addNewTrustList(); 170 171 /** 172 * Unsets the "trustList" element 173 */ 174 void unsetTrustList(); 175 176 /** 177 * Gets the "port" attribute 178 */ 179 short getPort(); 180 181 /** 182 * Gets (as xml) the "port" attribute 183 */ 184 org.apache.xmlbeans.XmlShort xgetPort(); 185 186 /** 187 * Sets the "port" attribute 188 */ 189 void setPort(short port); 190 191 /** 192 * Sets (as xml) the "port" attribute 193 */ 194 void xsetPort(org.apache.xmlbeans.XmlShort port); 195 196 /** 197 * Gets the "hostname" attribute 198 */ 199 java.lang.String getHostname(); 200 201 /** 202 * Gets (as xml) the "hostname" attribute 203 */ 204 org.apache.xmlbeans.XmlString xgetHostname(); 205 206 /** 207 * Sets the "hostname" attribute 208 */ 209 void setHostname(java.lang.String hostname); 210 211 /** 212 * Sets (as xml) the "hostname" attribute 213 */ 214 void xsetHostname(org.apache.xmlbeans.XmlString hostname); 215 216 /** 217 * Gets the "handshakeTimeout" attribute 218 */ 219 short getHandshakeTimeout(); 220 221 /** 222 * Gets (as xml) the "handshakeTimeout" attribute 223 */ 224 org.apache.xmlbeans.XmlShort xgetHandshakeTimeout(); 225 226 /** 227 * True if has "handshakeTimeout" attribute 228 */ 229 boolean isSetHandshakeTimeout(); 230 231 /** 232 * Sets the "handshakeTimeout" attribute 233 */ 234 void setHandshakeTimeout(short handshakeTimeout); 235 236 /** 237 * Sets (as xml) the "handshakeTimeout" attribute 238 */ 239 void xsetHandshakeTimeout(org.apache.xmlbeans.XmlShort handshakeTimeout); 240 241 /** 242 * Unsets the "handshakeTimeout" attribute 243 */ 244 void unsetHandshakeTimeout(); 245 246 /** 247 * An XML trustList(@http://openejb.apache.org/xml/ns/corba-tss-config-2.1). 248 * 249 * This is a complex type. 250 */ 251 public interface TrustList extends org.apache.xmlbeans.XmlObject 252 { 253 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType) 254 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TrustList.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACC41411FB14C20ABEF817C47DD1DF").resolveHandle("trustlist909eelemtype"); 255 256 /** 257 * Gets array of all "entity" elements 258 */ 259 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSEntityType[] getEntityArray(); 260 261 /** 262 * Gets ith "entity" element 263 */ 264 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSEntityType getEntityArray(int i); 265 266 /** 267 * Returns number of "entity" element 268 */ 269 int sizeOfEntityArray(); 270 271 /** 272 * Sets array of all "entity" element 273 */ 274 void setEntityArray(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSEntityType[] entityArray); 275 276 /** 277 * Sets ith "entity" element 278 */ 279 void setEntityArray(int i, org.apache.geronimo.corba.xbeans.csiv2.tss.TSSEntityType entity); 280 281 /** 282 * Inserts and returns a new empty value (as xml) as the ith "entity" element 283 */ 284 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSEntityType insertNewEntity(int i); 285 286 /** 287 * Appends and returns a new empty value (as xml) as the last "entity" element 288 */ 289 org.apache.geronimo.corba.xbeans.csiv2.tss.TSSEntityType addNewEntity(); 290 291 /** 292 * Removes the ith "entity" element 293 */ 294 void removeEntity(int i); 295 296 /** 297 * A factory class with static methods for creating instances 298 * of this type. 299 */ 300 301 public static final class Factory 302 { 303 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType.TrustList newInstance() { 304 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType.TrustList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 305 306 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType.TrustList newInstance(org.apache.xmlbeans.XmlOptions options) { 307 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType.TrustList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 308 309 private Factory() { } // No instance of this class allowed 310 } 311 } 312 313 /** 314 * A factory class with static methods for creating instances 315 * of this type. 316 */ 317 318 public static final class Factory 319 { 320 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType newInstance() { 321 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 322 323 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType newInstance(org.apache.xmlbeans.XmlOptions options) { 324 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 325 326 /** @param xmlAsString the string value to parse */ 327 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException { 328 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); } 329 330 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 331 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); } 332 333 /** @param file the file from which to load an xml document */ 334 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException { 335 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); } 336 337 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 338 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); } 339 340 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 341 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 342 343 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 344 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 345 346 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 347 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 348 349 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 350 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 351 352 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 353 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 354 355 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 356 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 357 358 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException { 359 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); } 360 361 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 362 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); } 363 364 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 365 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 366 367 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 368 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 369 370 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 371 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 372 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 373 374 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 375 public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException { 376 return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 377 378 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 379 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 { 380 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 381 382 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */ 383 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 { 384 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 385 386 private Factory() { } // No instance of this class allowed 387 } 388 }