001/*
002 * An XML document type.
003 * Localname: import
004 * Namespace: http://www.springframework.org/schema/beans
005 * Java type: org.springframework.schema.beans.ImportDocument
006 *
007 * Automatically generated - do not modify.
008 */
009package org.springframework.schema.beans;
010
011
012/**
013 * A document containing one import(@http://www.springframework.org/schema/beans) element.
014 *
015 * This is a complex type.
016 */
017public interface ImportDocument 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(ImportDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("import1284doctype");
021    
022    /**
023     * Gets the "import" element
024     */
025    org.springframework.schema.beans.ImportDocument.Import getImport();
026    
027    /**
028     * Sets the "import" element
029     */
030    void setImport(org.springframework.schema.beans.ImportDocument.Import ximport);
031    
032    /**
033     * Appends and returns a new empty "import" element
034     */
035    org.springframework.schema.beans.ImportDocument.Import addNewImport();
036    
037    /**
038     * An XML import(@http://www.springframework.org/schema/beans).
039     *
040     * This is a complex type.
041     */
042    public interface Import extends org.apache.xmlbeans.XmlObject
043    {
044        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
045            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Import.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("importcee3elemtype");
046        
047        /**
048         * Gets the "resource" attribute
049         */
050        java.lang.String getResource();
051        
052        /**
053         * Gets (as xml) the "resource" attribute
054         */
055        org.apache.xmlbeans.XmlString xgetResource();
056        
057        /**
058         * Sets the "resource" attribute
059         */
060        void setResource(java.lang.String resource);
061        
062        /**
063         * Sets (as xml) the "resource" attribute
064         */
065        void xsetResource(org.apache.xmlbeans.XmlString resource);
066        
067        /**
068         * A factory class with static methods for creating instances
069         * of this type.
070         */
071        
072        public static final class Factory
073        {
074            public static org.springframework.schema.beans.ImportDocument.Import newInstance() {
075              return (org.springframework.schema.beans.ImportDocument.Import) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
076            
077            public static org.springframework.schema.beans.ImportDocument.Import newInstance(org.apache.xmlbeans.XmlOptions options) {
078              return (org.springframework.schema.beans.ImportDocument.Import) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
079            
080            private Factory() { } // No instance of this class allowed
081        }
082    }
083    
084    /**
085     * A factory class with static methods for creating instances
086     * of this type.
087     */
088    
089    public static final class Factory
090    {
091        public static org.springframework.schema.beans.ImportDocument newInstance() {
092          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
093        
094        public static org.springframework.schema.beans.ImportDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
095          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
096        
097        /** @param xmlAsString the string value to parse */
098        public static org.springframework.schema.beans.ImportDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
099          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
100        
101        public static org.springframework.schema.beans.ImportDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
102          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
103        
104        /** @param file the file from which to load an xml document */
105        public static org.springframework.schema.beans.ImportDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
106          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
107        
108        public static org.springframework.schema.beans.ImportDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
109          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
110        
111        public static org.springframework.schema.beans.ImportDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
112          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
113        
114        public static org.springframework.schema.beans.ImportDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
115          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
116        
117        public static org.springframework.schema.beans.ImportDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
118          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
119        
120        public static org.springframework.schema.beans.ImportDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
121          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
122        
123        public static org.springframework.schema.beans.ImportDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
124          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
125        
126        public static org.springframework.schema.beans.ImportDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
127          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
128        
129        public static org.springframework.schema.beans.ImportDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
130          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
131        
132        public static org.springframework.schema.beans.ImportDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
133          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
134        
135        public static org.springframework.schema.beans.ImportDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
136          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
137        
138        public static org.springframework.schema.beans.ImportDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
139          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
140        
141        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
142        public static org.springframework.schema.beans.ImportDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
143          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
144        
145        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
146        public static org.springframework.schema.beans.ImportDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
147          return (org.springframework.schema.beans.ImportDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
148        
149        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
150        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 {
151          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
152        
153        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
154        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 {
155          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
156        
157        private Factory() { } // No instance of this class allowed
158    }
159}