001/*
002 * An XML document type.
003 * Localname: key
004 * Namespace: http://www.springframework.org/schema/beans
005 * Java type: org.springframework.schema.beans.KeyDocument
006 *
007 * Automatically generated - do not modify.
008 */
009package org.springframework.schema.beans;
010
011
012/**
013 * A document containing one key(@http://www.springframework.org/schema/beans) element.
014 *
015 * This is a complex type.
016 */
017public interface KeyDocument 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(KeyDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("keyf06cdoctype");
021    
022    /**
023     * Gets the "key" element
024     */
025    org.springframework.schema.beans.KeyDocument.Key getKey();
026    
027    /**
028     * Sets the "key" element
029     */
030    void setKey(org.springframework.schema.beans.KeyDocument.Key key);
031    
032    /**
033     * Appends and returns a new empty "key" element
034     */
035    org.springframework.schema.beans.KeyDocument.Key addNewKey();
036    
037    /**
038     * An XML key(@http://www.springframework.org/schema/beans).
039     *
040     * This is a complex type.
041     */
042    public interface Key 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(Key.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s64573255CCD5DEC1A1EC4BE6858B9539").resolveHandle("keyb677elemtype");
046        
047        /**
048         * Gets the "description" element
049         */
050        org.springframework.schema.beans.DescriptionDocument.Description getDescription();
051        
052        /**
053         * True if has "description" element
054         */
055        boolean isSetDescription();
056        
057        /**
058         * Sets the "description" element
059         */
060        void setDescription(org.springframework.schema.beans.DescriptionDocument.Description description);
061        
062        /**
063         * Appends and returns a new empty "description" element
064         */
065        org.springframework.schema.beans.DescriptionDocument.Description addNewDescription();
066        
067        /**
068         * Unsets the "description" element
069         */
070        void unsetDescription();
071        
072        /**
073         * Gets array of all "bean" elements
074         */
075        org.springframework.schema.beans.BeanDocument.Bean[] getBeanArray();
076        
077        /**
078         * Gets ith "bean" element
079         */
080        org.springframework.schema.beans.BeanDocument.Bean getBeanArray(int i);
081        
082        /**
083         * Returns number of "bean" element
084         */
085        int sizeOfBeanArray();
086        
087        /**
088         * Sets array of all "bean" element
089         */
090        void setBeanArray(org.springframework.schema.beans.BeanDocument.Bean[] beanArray);
091        
092        /**
093         * Sets ith "bean" element
094         */
095        void setBeanArray(int i, org.springframework.schema.beans.BeanDocument.Bean bean);
096        
097        /**
098         * Inserts and returns a new empty value (as xml) as the ith "bean" element
099         */
100        org.springframework.schema.beans.BeanDocument.Bean insertNewBean(int i);
101        
102        /**
103         * Appends and returns a new empty value (as xml) as the last "bean" element
104         */
105        org.springframework.schema.beans.BeanDocument.Bean addNewBean();
106        
107        /**
108         * Removes the ith "bean" element
109         */
110        void removeBean(int i);
111        
112        /**
113         * Gets array of all "ref" elements
114         */
115        org.springframework.schema.beans.RefDocument.Ref[] getRefArray();
116        
117        /**
118         * Gets ith "ref" element
119         */
120        org.springframework.schema.beans.RefDocument.Ref getRefArray(int i);
121        
122        /**
123         * Returns number of "ref" element
124         */
125        int sizeOfRefArray();
126        
127        /**
128         * Sets array of all "ref" element
129         */
130        void setRefArray(org.springframework.schema.beans.RefDocument.Ref[] refArray);
131        
132        /**
133         * Sets ith "ref" element
134         */
135        void setRefArray(int i, org.springframework.schema.beans.RefDocument.Ref ref);
136        
137        /**
138         * Inserts and returns a new empty value (as xml) as the ith "ref" element
139         */
140        org.springframework.schema.beans.RefDocument.Ref insertNewRef(int i);
141        
142        /**
143         * Appends and returns a new empty value (as xml) as the last "ref" element
144         */
145        org.springframework.schema.beans.RefDocument.Ref addNewRef();
146        
147        /**
148         * Removes the ith "ref" element
149         */
150        void removeRef(int i);
151        
152        /**
153         * Gets array of all "idref" elements
154         */
155        org.springframework.schema.beans.IdrefDocument.Idref[] getIdrefArray();
156        
157        /**
158         * Gets ith "idref" element
159         */
160        org.springframework.schema.beans.IdrefDocument.Idref getIdrefArray(int i);
161        
162        /**
163         * Returns number of "idref" element
164         */
165        int sizeOfIdrefArray();
166        
167        /**
168         * Sets array of all "idref" element
169         */
170        void setIdrefArray(org.springframework.schema.beans.IdrefDocument.Idref[] idrefArray);
171        
172        /**
173         * Sets ith "idref" element
174         */
175        void setIdrefArray(int i, org.springframework.schema.beans.IdrefDocument.Idref idref);
176        
177        /**
178         * Inserts and returns a new empty value (as xml) as the ith "idref" element
179         */
180        org.springframework.schema.beans.IdrefDocument.Idref insertNewIdref(int i);
181        
182        /**
183         * Appends and returns a new empty value (as xml) as the last "idref" element
184         */
185        org.springframework.schema.beans.IdrefDocument.Idref addNewIdref();
186        
187        /**
188         * Removes the ith "idref" element
189         */
190        void removeIdref(int i);
191        
192        /**
193         * Gets array of all "value" elements
194         */
195        org.springframework.schema.beans.ValueDocument.Value[] getValueArray();
196        
197        /**
198         * Gets ith "value" element
199         */
200        org.springframework.schema.beans.ValueDocument.Value getValueArray(int i);
201        
202        /**
203         * Returns number of "value" element
204         */
205        int sizeOfValueArray();
206        
207        /**
208         * Sets array of all "value" element
209         */
210        void setValueArray(org.springframework.schema.beans.ValueDocument.Value[] valueArray);
211        
212        /**
213         * Sets ith "value" element
214         */
215        void setValueArray(int i, org.springframework.schema.beans.ValueDocument.Value value);
216        
217        /**
218         * Inserts and returns a new empty value (as xml) as the ith "value" element
219         */
220        org.springframework.schema.beans.ValueDocument.Value insertNewValue(int i);
221        
222        /**
223         * Appends and returns a new empty value (as xml) as the last "value" element
224         */
225        org.springframework.schema.beans.ValueDocument.Value addNewValue();
226        
227        /**
228         * Removes the ith "value" element
229         */
230        void removeValue(int i);
231        
232        /**
233         * Gets array of all "null" elements
234         */
235        org.springframework.schema.beans.NullDocument.Null[] getNullArray();
236        
237        /**
238         * Gets ith "null" element
239         */
240        org.springframework.schema.beans.NullDocument.Null getNullArray(int i);
241        
242        /**
243         * Returns number of "null" element
244         */
245        int sizeOfNullArray();
246        
247        /**
248         * Sets array of all "null" element
249         */
250        void setNullArray(org.springframework.schema.beans.NullDocument.Null[] xnullArray);
251        
252        /**
253         * Sets ith "null" element
254         */
255        void setNullArray(int i, org.springframework.schema.beans.NullDocument.Null xnull);
256        
257        /**
258         * Inserts and returns a new empty value (as xml) as the ith "null" element
259         */
260        org.springframework.schema.beans.NullDocument.Null insertNewNull(int i);
261        
262        /**
263         * Appends and returns a new empty value (as xml) as the last "null" element
264         */
265        org.springframework.schema.beans.NullDocument.Null addNewNull();
266        
267        /**
268         * Removes the ith "null" element
269         */
270        void removeNull(int i);
271        
272        /**
273         * Gets array of all "array" elements
274         */
275        org.springframework.schema.beans.ArrayDocument.Array[] getArrayArray();
276        
277        /**
278         * Gets ith "array" element
279         */
280        org.springframework.schema.beans.ArrayDocument.Array getArrayArray(int i);
281        
282        /**
283         * Returns number of "array" element
284         */
285        int sizeOfArrayArray();
286        
287        /**
288         * Sets array of all "array" element
289         */
290        void setArrayArray(org.springframework.schema.beans.ArrayDocument.Array[] arrayArray);
291        
292        /**
293         * Sets ith "array" element
294         */
295        void setArrayArray(int i, org.springframework.schema.beans.ArrayDocument.Array array);
296        
297        /**
298         * Inserts and returns a new empty value (as xml) as the ith "array" element
299         */
300        org.springframework.schema.beans.ArrayDocument.Array insertNewArray(int i);
301        
302        /**
303         * Appends and returns a new empty value (as xml) as the last "array" element
304         */
305        org.springframework.schema.beans.ArrayDocument.Array addNewArray();
306        
307        /**
308         * Removes the ith "array" element
309         */
310        void removeArray(int i);
311        
312        /**
313         * Gets array of all "list" elements
314         */
315        org.springframework.schema.beans.ListDocument.List[] getListArray();
316        
317        /**
318         * Gets ith "list" element
319         */
320        org.springframework.schema.beans.ListDocument.List getListArray(int i);
321        
322        /**
323         * Returns number of "list" element
324         */
325        int sizeOfListArray();
326        
327        /**
328         * Sets array of all "list" element
329         */
330        void setListArray(org.springframework.schema.beans.ListDocument.List[] listArray);
331        
332        /**
333         * Sets ith "list" element
334         */
335        void setListArray(int i, org.springframework.schema.beans.ListDocument.List list);
336        
337        /**
338         * Inserts and returns a new empty value (as xml) as the ith "list" element
339         */
340        org.springframework.schema.beans.ListDocument.List insertNewList(int i);
341        
342        /**
343         * Appends and returns a new empty value (as xml) as the last "list" element
344         */
345        org.springframework.schema.beans.ListDocument.List addNewList();
346        
347        /**
348         * Removes the ith "list" element
349         */
350        void removeList(int i);
351        
352        /**
353         * Gets array of all "set" elements
354         */
355        org.springframework.schema.beans.SetDocument.Set[] getSetArray();
356        
357        /**
358         * Gets ith "set" element
359         */
360        org.springframework.schema.beans.SetDocument.Set getSetArray(int i);
361        
362        /**
363         * Returns number of "set" element
364         */
365        int sizeOfSetArray();
366        
367        /**
368         * Sets array of all "set" element
369         */
370        void setSetArray(org.springframework.schema.beans.SetDocument.Set[] setArray);
371        
372        /**
373         * Sets ith "set" element
374         */
375        void setSetArray(int i, org.springframework.schema.beans.SetDocument.Set set);
376        
377        /**
378         * Inserts and returns a new empty value (as xml) as the ith "set" element
379         */
380        org.springframework.schema.beans.SetDocument.Set insertNewSet(int i);
381        
382        /**
383         * Appends and returns a new empty value (as xml) as the last "set" element
384         */
385        org.springframework.schema.beans.SetDocument.Set addNewSet();
386        
387        /**
388         * Removes the ith "set" element
389         */
390        void removeSet(int i);
391        
392        /**
393         * Gets array of all "map" elements
394         */
395        org.springframework.schema.beans.MapDocument.Map[] getMapArray();
396        
397        /**
398         * Gets ith "map" element
399         */
400        org.springframework.schema.beans.MapDocument.Map getMapArray(int i);
401        
402        /**
403         * Returns number of "map" element
404         */
405        int sizeOfMapArray();
406        
407        /**
408         * Sets array of all "map" element
409         */
410        void setMapArray(org.springframework.schema.beans.MapDocument.Map[] mapArray);
411        
412        /**
413         * Sets ith "map" element
414         */
415        void setMapArray(int i, org.springframework.schema.beans.MapDocument.Map map);
416        
417        /**
418         * Inserts and returns a new empty value (as xml) as the ith "map" element
419         */
420        org.springframework.schema.beans.MapDocument.Map insertNewMap(int i);
421        
422        /**
423         * Appends and returns a new empty value (as xml) as the last "map" element
424         */
425        org.springframework.schema.beans.MapDocument.Map addNewMap();
426        
427        /**
428         * Removes the ith "map" element
429         */
430        void removeMap(int i);
431        
432        /**
433         * Gets array of all "props" elements
434         */
435        org.springframework.schema.beans.PropsDocument.Props[] getPropsArray();
436        
437        /**
438         * Gets ith "props" element
439         */
440        org.springframework.schema.beans.PropsDocument.Props getPropsArray(int i);
441        
442        /**
443         * Returns number of "props" element
444         */
445        int sizeOfPropsArray();
446        
447        /**
448         * Sets array of all "props" element
449         */
450        void setPropsArray(org.springframework.schema.beans.PropsDocument.Props[] propsArray);
451        
452        /**
453         * Sets ith "props" element
454         */
455        void setPropsArray(int i, org.springframework.schema.beans.PropsDocument.Props props);
456        
457        /**
458         * Inserts and returns a new empty value (as xml) as the ith "props" element
459         */
460        org.springframework.schema.beans.PropsDocument.Props insertNewProps(int i);
461        
462        /**
463         * Appends and returns a new empty value (as xml) as the last "props" element
464         */
465        org.springframework.schema.beans.PropsDocument.Props addNewProps();
466        
467        /**
468         * Removes the ith "props" element
469         */
470        void removeProps(int i);
471        
472        /**
473         * A factory class with static methods for creating instances
474         * of this type.
475         */
476        
477        public static final class Factory
478        {
479            public static org.springframework.schema.beans.KeyDocument.Key newInstance() {
480              return (org.springframework.schema.beans.KeyDocument.Key) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
481            
482            public static org.springframework.schema.beans.KeyDocument.Key newInstance(org.apache.xmlbeans.XmlOptions options) {
483              return (org.springframework.schema.beans.KeyDocument.Key) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
484            
485            private Factory() { } // No instance of this class allowed
486        }
487    }
488    
489    /**
490     * A factory class with static methods for creating instances
491     * of this type.
492     */
493    
494    public static final class Factory
495    {
496        public static org.springframework.schema.beans.KeyDocument newInstance() {
497          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
498        
499        public static org.springframework.schema.beans.KeyDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
500          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
501        
502        /** @param xmlAsString the string value to parse */
503        public static org.springframework.schema.beans.KeyDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
504          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
505        
506        public static org.springframework.schema.beans.KeyDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
507          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
508        
509        /** @param file the file from which to load an xml document */
510        public static org.springframework.schema.beans.KeyDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
511          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
512        
513        public static org.springframework.schema.beans.KeyDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
514          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
515        
516        public static org.springframework.schema.beans.KeyDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
517          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
518        
519        public static org.springframework.schema.beans.KeyDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
520          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
521        
522        public static org.springframework.schema.beans.KeyDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
523          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
524        
525        public static org.springframework.schema.beans.KeyDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
526          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
527        
528        public static org.springframework.schema.beans.KeyDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
529          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
530        
531        public static org.springframework.schema.beans.KeyDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
532          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
533        
534        public static org.springframework.schema.beans.KeyDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
535          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
536        
537        public static org.springframework.schema.beans.KeyDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
538          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
539        
540        public static org.springframework.schema.beans.KeyDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
541          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
542        
543        public static org.springframework.schema.beans.KeyDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
544          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
545        
546        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
547        public static org.springframework.schema.beans.KeyDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
548          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
549        
550        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
551        public static org.springframework.schema.beans.KeyDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
552          return (org.springframework.schema.beans.KeyDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
553        
554        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
555        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 {
556          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
557        
558        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
559        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 {
560          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
561        
562        private Factory() { } // No instance of this class allowed
563    }
564}