001    /*
002     * XML Type:  principalType
003     * Namespace: http://geronimo.apache.org/xml/ns/security-2.0
004     * Java type: org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.security;
009    
010    
011    /**
012     * An XML principalType(@http://geronimo.apache.org/xml/ns/security-2.0).
013     *
014     * This is a complex type.
015     */
016    public interface GerPrincipalType 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(GerPrincipalType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8F58AF319EEC34E22F0806A022BFB952").resolveHandle("principaltype7c73type");
020        
021        /**
022         * Gets array of all "description" elements
023         */
024        org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType[] getDescriptionArray();
025        
026        /**
027         * Gets ith "description" element
028         */
029        org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType 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.xbeans.geronimo.security.GerDescriptionType[] descriptionArray);
040        
041        /**
042         * Sets ith "description" element
043         */
044        void setDescriptionArray(int i, org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType description);
045        
046        /**
047         * Inserts and returns a new empty value (as xml) as the ith "description" element
048         */
049        org.apache.geronimo.xbeans.geronimo.security.GerDescriptionType 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.xbeans.geronimo.security.GerDescriptionType addNewDescription();
055        
056        /**
057         * Removes the ith "description" element
058         */
059        void removeDescription(int i);
060        
061        /**
062         * Gets the "class" attribute
063         */
064        java.lang.String getClass1();
065        
066        /**
067         * Gets (as xml) the "class" attribute
068         */
069        org.apache.xmlbeans.XmlString xgetClass1();
070        
071        /**
072         * Sets the "class" attribute
073         */
074        void setClass1(java.lang.String class1);
075        
076        /**
077         * Sets (as xml) the "class" attribute
078         */
079        void xsetClass1(org.apache.xmlbeans.XmlString class1);
080        
081        /**
082         * Gets the "name" attribute
083         */
084        java.lang.String getName();
085        
086        /**
087         * Gets (as xml) the "name" attribute
088         */
089        org.apache.xmlbeans.XmlString xgetName();
090        
091        /**
092         * Sets the "name" attribute
093         */
094        void setName(java.lang.String name);
095        
096        /**
097         * Sets (as xml) the "name" attribute
098         */
099        void xsetName(org.apache.xmlbeans.XmlString name);
100        
101        /**
102         * A factory class with static methods for creating instances
103         * of this type.
104         */
105        
106        public static final class Factory
107        {
108            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType newInstance() {
109              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
110            
111            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType newInstance(org.apache.xmlbeans.XmlOptions options) {
112              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
113            
114            /** @param xmlAsString the string value to parse */
115            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
116              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
117            
118            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
119              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
120            
121            /** @param file the file from which to load an xml document */
122            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
123              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
124            
125            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
126              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
127            
128            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
129              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
130            
131            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
132              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
133            
134            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
135              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
136            
137            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
138              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
139            
140            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
141              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
142            
143            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
144              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
145            
146            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
147              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
148            
149            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
150              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
151            
152            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
153              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
154            
155            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
156              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
157            
158            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
159            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
160              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
161            
162            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
163            public static org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
164              return (org.apache.geronimo.xbeans.geronimo.security.GerPrincipalType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
165            
166            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
167            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 {
168              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
169            
170            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
171            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 {
172              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
173            
174            private Factory() { } // No instance of this class allowed
175        }
176    }