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