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)
019 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(JavabeanType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s428F6F412C3D7FF587AC6A8696D0654D").resolveHandle("javabeantype768ctype");
020
021 /**
022 * Gets array of all "property" elements
023 */
024 org.apache.geronimo.deployment.javabean.xbeans.PropertyType[] getPropertyArray();
025
026 /**
027 * Gets ith "property" element
028 */
029 org.apache.geronimo.deployment.javabean.xbeans.PropertyType getPropertyArray(int i);
030
031 /**
032 * Returns number of "property" element
033 */
034 int sizeOfPropertyArray();
035
036 /**
037 * Sets array of all "property" element
038 */
039 void setPropertyArray(org.apache.geronimo.deployment.javabean.xbeans.PropertyType[] propertyArray);
040
041 /**
042 * Sets ith "property" element
043 */
044 void setPropertyArray(int i, org.apache.geronimo.deployment.javabean.xbeans.PropertyType property);
045
046 /**
047 * Inserts and returns a new empty value (as xml) as the ith "property" element
048 */
049 org.apache.geronimo.deployment.javabean.xbeans.PropertyType insertNewProperty(int i);
050
051 /**
052 * Appends and returns a new empty value (as xml) as the last "property" element
053 */
054 org.apache.geronimo.deployment.javabean.xbeans.PropertyType addNewProperty();
055
056 /**
057 * Removes the ith "property" element
058 */
059 void removeProperty(int i);
060
061 /**
062 * Gets array of all "bean-property" elements
063 */
064 org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType[] getBeanPropertyArray();
065
066 /**
067 * Gets ith "bean-property" element
068 */
069 org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType getBeanPropertyArray(int i);
070
071 /**
072 * Returns number of "bean-property" element
073 */
074 int sizeOfBeanPropertyArray();
075
076 /**
077 * Sets array of all "bean-property" element
078 */
079 void setBeanPropertyArray(org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType[] beanPropertyArray);
080
081 /**
082 * Sets ith "bean-property" element
083 */
084 void setBeanPropertyArray(int i, org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType beanProperty);
085
086 /**
087 * Inserts and returns a new empty value (as xml) as the ith "bean-property" element
088 */
089 org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType insertNewBeanProperty(int i);
090
091 /**
092 * Appends and returns a new empty value (as xml) as the last "bean-property" element
093 */
094 org.apache.geronimo.deployment.javabean.xbeans.BeanPropertyType addNewBeanProperty();
095
096 /**
097 * Removes the ith "bean-property" element
098 */
099 void removeBeanProperty(int i);
100
101 /**
102 * Gets the "class" attribute
103 */
104 java.lang.String getClass1();
105
106 /**
107 * Gets (as xml) the "class" attribute
108 */
109 org.apache.xmlbeans.XmlString xgetClass1();
110
111 /**
112 * True if has "class" attribute
113 */
114 boolean isSetClass1();
115
116 /**
117 * Sets the "class" attribute
118 */
119 void setClass1(java.lang.String class1);
120
121 /**
122 * Sets (as xml) the "class" attribute
123 */
124 void xsetClass1(org.apache.xmlbeans.XmlString class1);
125
126 /**
127 * Unsets the "class" attribute
128 */
129 void unsetClass1();
130
131 /**
132 * A factory class with static methods for creating instances
133 * of this type.
134 */
135
136 public static final class Factory
137 {
138 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType newInstance() {
139 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
140
141 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType newInstance(org.apache.xmlbeans.XmlOptions options) {
142 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
143
144 /** @param xmlAsString the string value to parse */
145 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
146 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
147
148 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.lang.String xmlAsString, 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( xmlAsString, type, options ); }
150
151 /** @param file the file from which to load an xml document */
152 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
153 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
154
155 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 {
156 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
157
158 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
159 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
160
161 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 {
162 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
163
164 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
165 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
166
167 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 {
168 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
169
170 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
171 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
172
173 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 {
174 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
175
176 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
177 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
178
179 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 {
180 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
181
182 public static org.apache.geronimo.deployment.javabean.xbeans.JavabeanType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
183 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
184
185 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 {
186 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
187
188 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
189 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 {
190 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
191
192 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
193 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 {
194 return (org.apache.geronimo.deployment.javabean.xbeans.JavabeanType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
195
196 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
197 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 {
198 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
199
200 /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
201 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 {
202 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
203
204 private Factory() { } // No instance of this class allowed
205 }
206 }