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