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