001    /*
002     * XML Type:  credential-storeType
003     * Namespace: http://geronimo.apache.org/xml/ns/credentialstore-1.0
004     * Java type: org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.xbeans.geronimo.credentialstore;
009    
010    
011    /**
012     * An XML credential-storeType(@http://geronimo.apache.org/xml/ns/credentialstore-1.0).
013     *
014     * This is a complex type.
015     */
016    public interface CredentialStoreType 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(CredentialStoreType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s8F58AF319EEC34E22F0806A022BFB952").resolveHandle("credentialstoretype1373type");
020        
021        /**
022         * Gets array of all "realm" elements
023         */
024        org.apache.geronimo.xbeans.geronimo.credentialstore.RealmType[] getRealmArray();
025        
026        /**
027         * Gets ith "realm" element
028         */
029        org.apache.geronimo.xbeans.geronimo.credentialstore.RealmType getRealmArray(int i);
030        
031        /**
032         * Returns number of "realm" element
033         */
034        int sizeOfRealmArray();
035        
036        /**
037         * Sets array of all "realm" element
038         */
039        void setRealmArray(org.apache.geronimo.xbeans.geronimo.credentialstore.RealmType[] realmArray);
040        
041        /**
042         * Sets ith "realm" element
043         */
044        void setRealmArray(int i, org.apache.geronimo.xbeans.geronimo.credentialstore.RealmType realm);
045        
046        /**
047         * Inserts and returns a new empty value (as xml) as the ith "realm" element
048         */
049        org.apache.geronimo.xbeans.geronimo.credentialstore.RealmType insertNewRealm(int i);
050        
051        /**
052         * Appends and returns a new empty value (as xml) as the last "realm" element
053         */
054        org.apache.geronimo.xbeans.geronimo.credentialstore.RealmType addNewRealm();
055        
056        /**
057         * Removes the ith "realm" element
058         */
059        void removeRealm(int i);
060        
061        /**
062         * A factory class with static methods for creating instances
063         * of this type.
064         */
065        
066        public static final class Factory
067        {
068            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType newInstance() {
069              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
070            
071            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType newInstance(org.apache.xmlbeans.XmlOptions options) {
072              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
073            
074            /** @param xmlAsString the string value to parse */
075            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
076              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
077            
078            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
079              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
080            
081            /** @param file the file from which to load an xml document */
082            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
083              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
084            
085            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
086              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
087            
088            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
089              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
090            
091            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
092              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
093            
094            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
095              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
096            
097            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
098              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
099            
100            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
101              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
102            
103            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
104              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
105            
106            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
107              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
108            
109            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
110              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
111            
112            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
113              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
114            
115            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
116              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
117            
118            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
119            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
120              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
121            
122            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
123            public static org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
124              return (org.apache.geronimo.xbeans.geronimo.credentialstore.CredentialStoreType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
125            
126            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
127            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 {
128              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
129            
130            /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
131            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 {
132              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
133            
134            private Factory() { } // No instance of this class allowed
135        }
136    }