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