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