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