001    /*
002     * XML Type:  sasMechType
003     * Namespace: http://openejb.apache.org/xml/ns/corba-tss-config-2.1
004     * Java type: org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.corba.xbeans.csiv2.tss;
009    
010    
011    /**
012     * An XML sasMechType(@http://openejb.apache.org/xml/ns/corba-tss-config-2.1).
013     *
014     * This is a complex type.
015     */
016    public interface TSSSasMechType 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(TSSSasMechType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACC41411FB14C20ABEF817C47DD1DF").resolveHandle("sasmechtyped3b2type");
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 "serviceConfigurationList" element
063         */
064        org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType.ServiceConfigurationList getServiceConfigurationList();
065        
066        /**
067         * True if has "serviceConfigurationList" element
068         */
069        boolean isSetServiceConfigurationList();
070        
071        /**
072         * Sets the "serviceConfigurationList" element
073         */
074        void setServiceConfigurationList(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType.ServiceConfigurationList serviceConfigurationList);
075        
076        /**
077         * Appends and returns a new empty "serviceConfigurationList" element
078         */
079        org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType.ServiceConfigurationList addNewServiceConfigurationList();
080        
081        /**
082         * Unsets the "serviceConfigurationList" element
083         */
084        void unsetServiceConfigurationList();
085        
086        /**
087         * Gets the "identityTokenTypes" element
088         */
089        org.apache.geronimo.corba.xbeans.csiv2.tss.TSSIdentityTokenTypeList getIdentityTokenTypes();
090        
091        /**
092         * Sets the "identityTokenTypes" element
093         */
094        void setIdentityTokenTypes(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSIdentityTokenTypeList identityTokenTypes);
095        
096        /**
097         * Appends and returns a new empty "identityTokenTypes" element
098         */
099        org.apache.geronimo.corba.xbeans.csiv2.tss.TSSIdentityTokenTypeList addNewIdentityTokenTypes();
100        
101        /**
102         * An XML serviceConfigurationList(@http://openejb.apache.org/xml/ns/corba-tss-config-2.1).
103         *
104         * This is a complex type.
105         */
106        public interface ServiceConfigurationList extends org.apache.xmlbeans.XmlObject
107        {
108            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
109                org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ServiceConfigurationList.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s09ACC41411FB14C20ABEF817C47DD1DF").resolveHandle("serviceconfigurationlist7f4delemtype");
110            
111            /**
112             * Gets array of all "generalName" elements
113             */
114            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGeneralNameType[] getGeneralNameArray();
115            
116            /**
117             * Gets ith "generalName" element
118             */
119            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGeneralNameType getGeneralNameArray(int i);
120            
121            /**
122             * Returns number of "generalName" element
123             */
124            int sizeOfGeneralNameArray();
125            
126            /**
127             * Sets array of all "generalName" element
128             */
129            void setGeneralNameArray(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGeneralNameType[] generalNameArray);
130            
131            /**
132             * Sets ith "generalName" element
133             */
134            void setGeneralNameArray(int i, org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGeneralNameType generalName);
135            
136            /**
137             * Inserts and returns a new empty value (as xml) as the ith "generalName" element
138             */
139            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGeneralNameType insertNewGeneralName(int i);
140            
141            /**
142             * Appends and returns a new empty value (as xml) as the last "generalName" element
143             */
144            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGeneralNameType addNewGeneralName();
145            
146            /**
147             * Removes the ith "generalName" element
148             */
149            void removeGeneralName(int i);
150            
151            /**
152             * Gets array of all "gssExportedName" elements
153             */
154            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType[] getGssExportedNameArray();
155            
156            /**
157             * Gets ith "gssExportedName" element
158             */
159            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType getGssExportedNameArray(int i);
160            
161            /**
162             * Returns number of "gssExportedName" element
163             */
164            int sizeOfGssExportedNameArray();
165            
166            /**
167             * Sets array of all "gssExportedName" element
168             */
169            void setGssExportedNameArray(org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType[] gssExportedNameArray);
170            
171            /**
172             * Sets ith "gssExportedName" element
173             */
174            void setGssExportedNameArray(int i, org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType gssExportedName);
175            
176            /**
177             * Inserts and returns a new empty value (as xml) as the ith "gssExportedName" element
178             */
179            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType insertNewGssExportedName(int i);
180            
181            /**
182             * Appends and returns a new empty value (as xml) as the last "gssExportedName" element
183             */
184            org.apache.geronimo.corba.xbeans.csiv2.tss.TSSGssExportedNameType addNewGssExportedName();
185            
186            /**
187             * Removes the ith "gssExportedName" element
188             */
189            void removeGssExportedName(int i);
190            
191            /**
192             * Gets the "required" attribute
193             */
194            boolean getRequired();
195            
196            /**
197             * Gets (as xml) the "required" attribute
198             */
199            org.apache.xmlbeans.XmlBoolean xgetRequired();
200            
201            /**
202             * True if has "required" attribute
203             */
204            boolean isSetRequired();
205            
206            /**
207             * Sets the "required" attribute
208             */
209            void setRequired(boolean required);
210            
211            /**
212             * Sets (as xml) the "required" attribute
213             */
214            void xsetRequired(org.apache.xmlbeans.XmlBoolean required);
215            
216            /**
217             * Unsets the "required" attribute
218             */
219            void unsetRequired();
220            
221            /**
222             * A factory class with static methods for creating instances
223             * of this type.
224             */
225            
226            public static final class Factory
227            {
228                public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType.ServiceConfigurationList newInstance() {
229                  return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType.ServiceConfigurationList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
230                
231                public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType.ServiceConfigurationList newInstance(org.apache.xmlbeans.XmlOptions options) {
232                  return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType.ServiceConfigurationList) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
233                
234                private Factory() { } // No instance of this class allowed
235            }
236        }
237        
238        /**
239         * A factory class with static methods for creating instances
240         * of this type.
241         */
242        
243        public static final class Factory
244        {
245            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType newInstance() {
246              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
247            
248            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType newInstance(org.apache.xmlbeans.XmlOptions options) {
249              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
250            
251            /** @param xmlAsString the string value to parse */
252            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
253              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
254            
255            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
256              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
257            
258            /** @param file the file from which to load an xml document */
259            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
260              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
261            
262            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
263              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
264            
265            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
266              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
267            
268            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
269              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
270            
271            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
272              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
273            
274            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
275              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
276            
277            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
278              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
279            
280            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
281              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
282            
283            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
284              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
285            
286            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
287              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
288            
289            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
290              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
291            
292            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
293              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
294            
295            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
296            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
297              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
298            
299            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
300            public static org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
301              return (org.apache.geronimo.corba.xbeans.csiv2.tss.TSSSasMechType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
302            
303            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
304            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 {
305              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
306            
307            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
308            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 {
309              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
310            
311            private Factory() { } // No instance of this class allowed
312        }
313    }