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