001    /*
002     * XML Type:  optionType
003     * Namespace: http://geronimo.apache.org/xml/ns/loginconfig-1.2
004     * Java type: org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.loginconfig;
009    
010    
011    /**
012     * An XML optionType(@http://geronimo.apache.org/xml/ns/loginconfig-1.2).
013     *
014     * This is an atomic type that is a restriction of org.apache.xmlbeans.XmlString.
015     */
016    public interface GerOptionType extends org.apache.xmlbeans.XmlString
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.sAC7A4D68E92F83330EB8FF8C7ED832FA.TypeSystemHolder.typeSystem.resolveHandle("optiontypeb9c0type");
019        
020        /**
021         * Gets the "name" attribute
022         */
023        java.lang.String getName();
024        
025        /**
026         * Gets (as xml) the "name" attribute
027         */
028        org.apache.xmlbeans.XmlString xgetName();
029        
030        /**
031         * Sets the "name" attribute
032         */
033        void setName(java.lang.String name);
034        
035        /**
036         * Sets (as xml) the "name" attribute
037         */
038        void xsetName(org.apache.xmlbeans.XmlString name);
039        
040        /**
041         * A factory class with static methods for creating instances
042         * of this type.
043         */
044        
045        public static final class Factory
046        {
047            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType newInstance() {
048              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
049            
050            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType newInstance(org.apache.xmlbeans.XmlOptions options) {
051              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
052            
053            /** @param xmlAsString the string value to parse */
054            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
055              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
056            
057            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
058              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
059            
060            /** @param file the file from which to load an xml document */
061            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
062              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
063            
064            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
065              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
066            
067            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
068              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
069            
070            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
071              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
072            
073            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
074              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
075            
076            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
077              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
078            
079            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
080              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
081            
082            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
083              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
084            
085            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
086              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
087            
088            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
089              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
090            
091            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
092              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
093            
094            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
095              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
096            
097            /** @deprecated {@link XMLInputStream} */
098            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
099              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
100            
101            /** @deprecated {@link XMLInputStream} */
102            public static org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
103              return (org.apache.geronimo.xbeans.geronimo.loginconfig.GerOptionType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
104            
105            /** @deprecated {@link XMLInputStream} */
106            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 {
107              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
108            
109            /** @deprecated {@link XMLInputStream} */
110            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 {
111              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
112            
113            private Factory() { } // No instance of this class allowed
114        }
115    }