001    /*
002     * XML Type:  javabeanType
003     * Namespace: http://geronimo.apache.org/xml/ns/deployment/javabean-1.0
004     * Java type: org.apache.geronimo.deployment.javabean.xbeans.JavabeanType
005     *
006     * Automatically generated - do not modify.
007     */
008    package org.apache.geronimo.deployment.javabean.xbeans;
009    
010    
011    /**
012     * An XML javabeanType(@http://geronimo.apache.org/xml/ns/deployment/javabean-1.0).
013     *
014     * This is a complex type.
015     */
016    public interface JavabeanType extends org.apache.xmlbeans.XmlObject
017    {
018        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schemaorg_apache_xmlbeans.system.s596967AB426BF091FD59326316BABB46.TypeSystemHolder.typeSystem.resolveHandle("javabeantype768ctype");
019        
020        /**
021         * Gets array of all "property" elements
022         */
023        org.apache.geronimo.deployment.javabean.xbeans.PropertyType[] getPropertyArray();
024        
025        /**
026         * Gets ith "property" element
027         */
028        org.apache.geronimo.deployment.javabean.xbeans.PropertyType getPropertyArray(int i);
029        
030        /**
031         * Returns number of "property" element
032         */
033        int sizeOfPropertyArray();
034        
035        /**
036         * Sets array of all "property" element
037         */
038        void setPropertyArray(org.apache.geronimo.deployment.javabean.xbeans.PropertyType[] propertyArray);
039        
040        /**
041         * Sets ith "property" element
042         */
043        void setPropertyArray(int i, org.apache.geronimo.deployment.javabean.xbeans.PropertyType property);
044        
045        /**
046         * Inserts and returns a new empty value (as xml) as the ith "property" element
047         */
048        org.apache.geronimo.deployment.javabean.xbeans.PropertyType insertNewProperty(int i);
049        
050        /**
051         * Appends and returns a new empty value (as xml) as the last "property" element
052         */
053        org.apache.geronimo.deployment.javabean.xbeans.PropertyType addNewProperty();
054        
055        /**
056         * Removes the ith "property" element
057         */
058        void removeProperty(int i);
059        
060        /**
061         * Gets array of all "bean-property" elements
062         */
063        org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType[] getBeanPropertyArray();
064        
065        /**
066         * Gets ith "bean-property" element
067         */
068        org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType getBeanPropertyArray(int i);
069        
070        /**
071         * Returns number of "bean-property" element
072         */
073        int sizeOfBeanPropertyArray();
074        
075        /**
076         * Sets array of all "bean-property" element
077         */
078        void setBeanPropertyArray(org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType[] beanPropertyArray);
079        
080        /**
081         * Sets ith "bean-property" element
082         */
083        void setBeanPropertyArray(int i, org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType beanProperty);
084        
085        /**
086         * Inserts and returns a new empty value (as xml) as the ith "bean-property" element
087         */
088        org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType insertNewBeanProperty(int i);
089        
090        /**
091         * Appends and returns a new empty value (as xml) as the last "bean-property" element
092         */
093        org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType addNewBeanProperty();
094        
095        /**
096         * Removes the ith "bean-property" element
097         */
098        void removeBeanProperty(int i);
099        
100        /**
101         * A factory class with static methods for creating instances
102         * of this type.
103         */
104        
105        public static final class Factory
106        {
107            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType newInstance() {
108              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
109            
110            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType newInstance(org.apache.xmlbeans.XmlOptions options) {
111              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
112            
113            /** @param xmlAsString the string value to parse */
114            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
115              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
116            
117            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
118              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
119            
120            /** @param file the file from which to load an xml document */
121            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
122              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
123            
124            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
125              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
126            
127            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
128              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
129            
130            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
131              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
132            
133            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
134              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
135            
136            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
137              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
138            
139            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
140              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
141            
142            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
143              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
144            
145            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
146              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
147            
148            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
149              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
150            
151            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
152              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
153            
154            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
155              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
156            
157            /** @deprecated {@link XMLInputStream} */
158            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
159              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
160            
161            /** @deprecated {@link XMLInputStream} */
162            public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
163              return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
164            
165            /** @deprecated {@link XMLInputStream} */
166            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 {
167              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
168            
169            /** @deprecated {@link XMLInputStream} */
170            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 {
171              return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
172            
173            private Factory() { } // No instance of this class allowed
174        }
175    }