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