001    /*
002     * An XML document type.
003     * Localname: clustering
004     * Namespace: http://geronimo.apache.org/xml/ns/j2ee/application-2.0
005     * Java type: org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument
006     *
007     * Automatically generated - do not modify.
008     */
009    package org.apache.geronimo.xbeans.geronimo.j2ee;
010    
011    
012    /**
013     * A document containing one clustering(@http://geronimo.apache.org/xml/ns/j2ee/application-2.0) element.
014     *
015     * This is a complex type.
016     */
017    public interface GerClusteringDocument 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(GerClusteringDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s2769DD7041FA7A7F08AC25A8C20EE434").resolveHandle("clustering1fbadoctype");
021        
022        /**
023         * Gets the "clustering" element
024         */
025        org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractClusteringType getClustering();
026        
027        /**
028         * Sets the "clustering" element
029         */
030        void setClustering(org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractClusteringType clustering);
031        
032        /**
033         * Appends and returns a new empty "clustering" element
034         */
035        org.apache.geronimo.xbeans.geronimo.j2ee.GerAbstractClusteringType addNewClustering();
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.j2ee.GerClusteringDocument newInstance() {
045              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
046            
047            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
048              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) 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.j2ee.GerClusteringDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
052              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
053            
054            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
055              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) 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.j2ee.GerClusteringDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
059              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
060            
061            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument 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.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
063            
064            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
065              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
066            
067            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument 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.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
069            
070            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
071              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
072            
073            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument 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.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
075            
076            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
077              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
078            
079            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument 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.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
081            
082            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
083              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
084            
085            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
086              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
087            
088            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
089              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
090            
091            public static org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
092              return (org.apache.geronimo.xbeans.geronimo.j2ee.GerClusteringDocument) 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.j2ee.GerClusteringDocument 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.j2ee.GerClusteringDocument) 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.j2ee.GerClusteringDocument 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.j2ee.GerClusteringDocument) 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    }