001/*
002 * XML Type:  mapType
003 * Namespace: http://www.springframework.org/schema/beans
004 * Java type: org.springframework.schema.beans.MapType
005 *
006 * Automatically generated - do not modify.
007 */
008package org.springframework.schema.beans;
009
010
011/**
012 * An XML mapType(@http://www.springframework.org/schema/beans).
013 *
014 * This is a complex type.
015 */
016public interface MapType extends org.springframework.schema.beans.CollectionType
017{
018    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
019        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(MapType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("maptype92d3type");
020    
021    /**
022     * Gets the "description" element
023     */
024    org.springframework.schema.beans.DescriptionDocument.Description getDescription();
025    
026    /**
027     * True if has "description" element
028     */
029    boolean isSetDescription();
030    
031    /**
032     * Sets the "description" element
033     */
034    void setDescription(org.springframework.schema.beans.DescriptionDocument.Description description);
035    
036    /**
037     * Appends and returns a new empty "description" element
038     */
039    org.springframework.schema.beans.DescriptionDocument.Description addNewDescription();
040    
041    /**
042     * Unsets the "description" element
043     */
044    void unsetDescription();
045    
046    /**
047     * Gets array of all "entry" elements
048     */
049    org.springframework.schema.beans.EntryType[] getEntryArray();
050    
051    /**
052     * Gets ith "entry" element
053     */
054    org.springframework.schema.beans.EntryType getEntryArray(int i);
055    
056    /**
057     * Returns number of "entry" element
058     */
059    int sizeOfEntryArray();
060    
061    /**
062     * Sets array of all "entry" element
063     */
064    void setEntryArray(org.springframework.schema.beans.EntryType[] entryArray);
065    
066    /**
067     * Sets ith "entry" element
068     */
069    void setEntryArray(int i, org.springframework.schema.beans.EntryType entry);
070    
071    /**
072     * Inserts and returns a new empty value (as xml) as the ith "entry" element
073     */
074    org.springframework.schema.beans.EntryType insertNewEntry(int i);
075    
076    /**
077     * Appends and returns a new empty value (as xml) as the last "entry" element
078     */
079    org.springframework.schema.beans.EntryType addNewEntry();
080    
081    /**
082     * Removes the ith "entry" element
083     */
084    void removeEntry(int i);
085    
086    /**
087     * Gets the "key-type" attribute
088     */
089    java.lang.String getKeyType();
090    
091    /**
092     * Gets (as xml) the "key-type" attribute
093     */
094    org.apache.xmlbeans.XmlString xgetKeyType();
095    
096    /**
097     * True if has "key-type" attribute
098     */
099    boolean isSetKeyType();
100    
101    /**
102     * Sets the "key-type" attribute
103     */
104    void setKeyType(java.lang.String keyType);
105    
106    /**
107     * Sets (as xml) the "key-type" attribute
108     */
109    void xsetKeyType(org.apache.xmlbeans.XmlString keyType);
110    
111    /**
112     * Unsets the "key-type" attribute
113     */
114    void unsetKeyType();
115    
116    /**
117     * A factory class with static methods for creating instances
118     * of this type.
119     */
120    
121    public static final class Factory
122    {
123        public static org.springframework.schema.beans.MapType newInstance() {
124          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
125        
126        public static org.springframework.schema.beans.MapType newInstance(org.apache.xmlbeans.XmlOptions options) {
127          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
128        
129        /** @param xmlAsString the string value to parse */
130        public static org.springframework.schema.beans.MapType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
131          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
132        
133        public static org.springframework.schema.beans.MapType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
134          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
135        
136        /** @param file the file from which to load an xml document */
137        public static org.springframework.schema.beans.MapType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
138          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
139        
140        public static org.springframework.schema.beans.MapType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
141          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
142        
143        public static org.springframework.schema.beans.MapType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
144          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
145        
146        public static org.springframework.schema.beans.MapType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
147          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
148        
149        public static org.springframework.schema.beans.MapType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
150          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
151        
152        public static org.springframework.schema.beans.MapType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
153          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
154        
155        public static org.springframework.schema.beans.MapType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
156          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
157        
158        public static org.springframework.schema.beans.MapType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
159          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
160        
161        public static org.springframework.schema.beans.MapType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
162          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
163        
164        public static org.springframework.schema.beans.MapType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
165          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
166        
167        public static org.springframework.schema.beans.MapType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
168          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
169        
170        public static org.springframework.schema.beans.MapType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
171          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
172        
173        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
174        public static org.springframework.schema.beans.MapType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
175          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
176        
177        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
178        public static org.springframework.schema.beans.MapType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
179          return (org.springframework.schema.beans.MapType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
180        
181        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
182        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 {
183          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
184        
185        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
186        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 {
187          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
188        
189        private Factory() { } // No instance of this class allowed
190    }
191}