001 /*
002 * XML Type: SSLType
003 * Namespace: http://openejb.apache.org/xml/ns/corba-css-config-2.1
004 * Java type: org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType
005 *
006 * Automatically generated - do not modify.
007 */
008 package org.apache.geronimo.corba.xbeans.csiv2.css;
009
010
011 /**
012 * An XML SSLType(@http://openejb.apache.org/xml/ns/corba-css-config-2.1).
013 *
014 * This is a complex type.
015 */
016 public interface CSSSSLType 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(CSSSSLType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACC41411FB14C20ABEF817C47DD1DF").resolveHandle("ssltypea38dtype");
020
021 /**
022 * Gets array of all "description" elements
023 */
024 org.apache.geronimo.corba.xbeans.csiv2.css.CSSDescriptionType[] getDescriptionArray();
025
026 /**
027 * Gets ith "description" element
028 */
029 org.apache.geronimo.corba.xbeans.csiv2.css.CSSDescriptionType 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.css.CSSDescriptionType[] descriptionArray);
040
041 /**
042 * Sets ith "description" element
043 */
044 void setDescriptionArray(int i, org.apache.geronimo.corba.xbeans.csiv2.css.CSSDescriptionType 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.css.CSSDescriptionType 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.css.CSSDescriptionType 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.css.CSSAssociationOptionList 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.css.CSSAssociationOptionList 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.css.CSSAssociationOptionList 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.css.CSSAssociationOptionList requires);
100
101 /**
102 * Gets the "trustEveryone" element
103 */
104 org.apache.geronimo.corba.xbeans.csiv2.css.CSSTrustEveryoneType 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.css.CSSTrustEveryoneType trustEveryone);
115
116 /**
117 * Appends and returns a new empty "trustEveryone" element
118 */
119 org.apache.geronimo.corba.xbeans.csiv2.css.CSSTrustEveryoneType 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.css.CSSTrustNooneType 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.css.CSSTrustNooneType trustNoone);
140
141 /**
142 * Appends and returns a new empty "trustNoone" element
143 */
144 org.apache.geronimo.corba.xbeans.csiv2.css.CSSTrustNooneType 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.css.CSSSSLType.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.css.CSSSSLType.TrustList trustList);
165
166 /**
167 * Appends and returns a new empty "trustList" element
168 */
169 org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType.TrustList addNewTrustList();
170
171 /**
172 * Unsets the "trustList" element
173 */
174 void unsetTrustList();
175
176 /**
177 * Gets the "handshakeTimeout" attribute
178 */
179 short getHandshakeTimeout();
180
181 /**
182 * Gets (as xml) the "handshakeTimeout" attribute
183 */
184 org.apache.xmlbeans.XmlShort xgetHandshakeTimeout();
185
186 /**
187 * True if has "handshakeTimeout" attribute
188 */
189 boolean isSetHandshakeTimeout();
190
191 /**
192 * Sets the "handshakeTimeout" attribute
193 */
194 void setHandshakeTimeout(short handshakeTimeout);
195
196 /**
197 * Sets (as xml) the "handshakeTimeout" attribute
198 */
199 void xsetHandshakeTimeout(org.apache.xmlbeans.XmlShort handshakeTimeout);
200
201 /**
202 * Unsets the "handshakeTimeout" attribute
203 */
204 void unsetHandshakeTimeout();
205
206 /**
207 * An XML trustList(@http://openejb.apache.org/xml/ns/corba-css-config-2.1).
208 *
209 * This is a complex type.
210 */
211 public interface TrustList extends org.apache.xmlbeans.XmlObject
212 {
213 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
214 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TrustList.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACC41411FB14C20ABEF817C47DD1DF").resolveHandle("trustlist2d0felemtype");
215
216 /**
217 * Gets array of all "entity" elements
218 */
219 org.apache.geronimo.corba.xbeans.csiv2.css.CSSEntityType[] getEntityArray();
220
221 /**
222 * Gets ith "entity" element
223 */
224 org.apache.geronimo.corba.xbeans.csiv2.css.CSSEntityType getEntityArray(int i);
225
226 /**
227 * Returns number of "entity" element
228 */
229 int sizeOfEntityArray();
230
231 /**
232 * Sets array of all "entity" element
233 */
234 void setEntityArray(org.apache.geronimo.corba.xbeans.csiv2.css.CSSEntityType[] entityArray);
235
236 /**
237 * Sets ith "entity" element
238 */
239 void setEntityArray(int i, org.apache.geronimo.corba.xbeans.csiv2.css.CSSEntityType entity);
240
241 /**
242 * Inserts and returns a new empty value (as xml) as the ith "entity" element
243 */
244 org.apache.geronimo.corba.xbeans.csiv2.css.CSSEntityType insertNewEntity(int i);
245
246 /**
247 * Appends and returns a new empty value (as xml) as the last "entity" element
248 */
249 org.apache.geronimo.corba.xbeans.csiv2.css.CSSEntityType addNewEntity();
250
251 /**
252 * Removes the ith "entity" element
253 */
254 void removeEntity(int i);
255
256 /**
257 * A factory class with static methods for creating instances
258 * of this type.
259 */
260
261 public static final class Factory
262 {
263 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType.TrustList newInstance() {
264 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType.TrustList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
265
266 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType.TrustList newInstance(org.apache.xmlbeans.XmlOptions options) {
267 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType.TrustList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
268
269 private Factory() { } // No instance of this class allowed
270 }
271 }
272
273 /**
274 * A factory class with static methods for creating instances
275 * of this type.
276 */
277
278 public static final class Factory
279 {
280 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType newInstance() {
281 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
282
283 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType newInstance(org.apache.xmlbeans.XmlOptions options) {
284 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
285
286 /** @param xmlAsString the string value to parse */
287 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
288 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
289
290 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
291 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
292
293 /** @param file the file from which to load an xml document */
294 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
295 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
296
297 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
298 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
299
300 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
301 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
302
303 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
304 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
305
306 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
307 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
308
309 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
310 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
311
312 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
313 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
314
315 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
316 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
317
318 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
319 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
320
321 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
322 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
323
324 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
325 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
326
327 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
328 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
329
330 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
331 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
332 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
333
334 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
335 public static org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
336 return (org.apache.geronimo.corba.xbeans.csiv2.css.CSSSSLType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
337
338 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
339 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 {
340 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
341
342 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
343 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 {
344 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
345
346 private Factory() { } // No instance of this class allowed
347 }
348 }