001    /*
002     * XML Type:  login-moduleType
003     * Namespace: http://geronimo.apache.org/xml/ns/loginconfig-2.0
004     * Java type: org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.loginconfig;
009    
010    
011    /**
012     * An XML login-moduleType(@http://geronimo.apache.org/xml/ns/loginconfig-2.0).
013     *
014     * This is a complex type.
015     */
016    public interface GerLoginModuleType extends org.apache.geronimo.xbeans.geronimo.loginconfig.GerAbstractLoginModuleType
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GerLoginModuleType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8F58AF319EEC34E22F0806A022BFB952").resolveHandle("loginmoduletype395atype");
020        
021        /**
022         * Gets the "login-domain-name" element
023         */
024        java.lang.String getLoginDomainName();
025        
026        /**
027         * Gets (as xml) the "login-domain-name" element
028         */
029        org.apache.xmlbeans.XmlString xgetLoginDomainName();
030        
031        /**
032         * Sets the "login-domain-name" element
033         */
034        void setLoginDomainName(java.lang.String loginDomainName);
035        
036        /**
037         * Sets (as xml) the "login-domain-name" element
038         */
039        void xsetLoginDomainName(org.apache.xmlbeans.XmlString loginDomainName);
040        
041        /**
042         * Gets the "login-module-class" element
043         */
044        java.lang.String getLoginModuleClass();
045        
046        /**
047         * Gets (as xml) the "login-module-class" element
048         */
049        org.apache.xmlbeans.XmlString xgetLoginModuleClass();
050        
051        /**
052         * Sets the "login-module-class" element
053         */
054        void setLoginModuleClass(java.lang.String loginModuleClass);
055        
056        /**
057         * Sets (as xml) the "login-module-class" element
058         */
059        void xsetLoginModuleClass(org.apache.xmlbeans.XmlString loginModuleClass);
060        
061        /**
062         * Gets array of all "option" elements
063         */
064        org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType[] getOptionArray();
065        
066        /**
067         * Gets ith "option" element
068         */
069        org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType getOptionArray(int i);
070        
071        /**
072         * Returns number of "option" element
073         */
074        int sizeOfOptionArray();
075        
076        /**
077         * Sets array of all "option" element
078         */
079        void setOptionArray(org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType[] optionArray);
080        
081        /**
082         * Sets ith "option" element
083         */
084        void setOptionArray(int i, org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType option);
085        
086        /**
087         * Inserts and returns a new empty value (as xml) as the ith "option" element
088         */
089        org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType insertNewOption(int i);
090        
091        /**
092         * Appends and returns a new empty value (as xml) as the last "option" element
093         */
094        org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType addNewOption();
095        
096        /**
097         * Removes the ith "option" element
098         */
099        void removeOption(int i);
100        
101        /**
102         * Gets array of all "xml-option" elements
103         */
104        org.apache.geronimo.deployment.xbeans.XmlAttributeType[] getXmlOptionArray();
105        
106        /**
107         * Gets ith "xml-option" element
108         */
109        org.apache.geronimo.deployment.xbeans.XmlAttributeType getXmlOptionArray(int i);
110        
111        /**
112         * Returns number of "xml-option" element
113         */
114        int sizeOfXmlOptionArray();
115        
116        /**
117         * Sets array of all "xml-option" element
118         */
119        void setXmlOptionArray(org.apache.geronimo.deployment.xbeans.XmlAttributeType[] xmlOptionArray);
120        
121        /**
122         * Sets ith "xml-option" element
123         */
124        void setXmlOptionArray(int i, org.apache.geronimo.deployment.xbeans.XmlAttributeType xmlOption);
125        
126        /**
127         * Inserts and returns a new empty value (as xml) as the ith "xml-option" element
128         */
129        org.apache.geronimo.deployment.xbeans.XmlAttributeType insertNewXmlOption(int i);
130        
131        /**
132         * Appends and returns a new empty value (as xml) as the last "xml-option" element
133         */
134        org.apache.geronimo.deployment.xbeans.XmlAttributeType addNewXmlOption();
135        
136        /**
137         * Removes the ith "xml-option" element
138         */
139        void removeXmlOption(int i);
140        
141        /**
142         * A factory class with static methods for creating instances
143         * of this type.
144         */
145        
146        public static final class Factory
147        {
148            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType newInstance() {
149              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
150            
151            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType newInstance(org.apache.xmlbeans.XmlOptions options) {
152              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
153            
154            /** @param xmlAsString the string value to parse */
155            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
156              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
157            
158            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
159              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
160            
161            /** @param file the file from which to load an xml document */
162            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
163              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
164            
165            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
166              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
167            
168            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
169              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
170            
171            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
172              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
173            
174            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
175              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
176            
177            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
178              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
179            
180            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
181              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
182            
183            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
184              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
185            
186            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
187              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
188            
189            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
190              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
191            
192            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
193              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
194            
195            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
196              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
197            
198            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
199            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
200              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
201            
202            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
203            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
204              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerLoginModuleType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
205            
206            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
207            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 {
208              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
209            
210            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
211            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 {
212              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
213            
214            private Factory() { } // No instance of this class allowed
215        }
216    }