View Javadoc
1 /* 2 * An XML document type. 3 * Localname: recipe 4 * Namespace: http://mrl.sf.net 5 * Java type: net.sf.mrl.RecipeDocument 6 * 7 * Automatically generated - do not modify. 8 */ 9 package net.sf.mrl; 10 11 12 /*** 13 * A document containing one recipe(@http://mrl.sf.net) element. 14 * 15 * This is a complex type. 16 */ 17 public interface RecipeDocument extends org.apache.xmlbeans.XmlObject 18 { 19 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("recipe6ac2doctype"); 20 21 /*** 22 * Gets the "recipe" element 23 */ 24 net.sf.mrl.RecipeDocument.Recipe getRecipe(); 25 26 /*** 27 * Sets the "recipe" element 28 */ 29 void setRecipe(net.sf.mrl.RecipeDocument.Recipe recipe); 30 31 /*** 32 * Appends and returns a new empty "recipe" element 33 */ 34 net.sf.mrl.RecipeDocument.Recipe addNewRecipe(); 35 36 /*** 37 * An XML recipe(@http://mrl.sf.net). 38 * 39 * This is a complex type. 40 */ 41 public interface Recipe extends org.apache.xmlbeans.XmlObject 42 { 43 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("recipe9458elemtype"); 44 45 /*** 46 * Gets the "name" element 47 */ 48 java.lang.String getName(); 49 50 /*** 51 * Gets (as xml) the "name" element 52 */ 53 org.apache.xmlbeans.XmlString xgetName(); 54 55 /*** 56 * Sets the "name" element 57 */ 58 void setName(java.lang.String name); 59 60 /*** 61 * Sets (as xml) the "name" element 62 */ 63 void xsetName(org.apache.xmlbeans.XmlString name); 64 65 /*** 66 * Gets the "description" element 67 */ 68 java.lang.String getDescription(); 69 70 /*** 71 * Gets (as xml) the "description" element 72 */ 73 org.apache.xmlbeans.XmlString xgetDescription(); 74 75 /*** 76 * True if has "description" element 77 */ 78 boolean isSetDescription(); 79 80 /*** 81 * Sets the "description" element 82 */ 83 void setDescription(java.lang.String description); 84 85 /*** 86 * Sets (as xml) the "description" element 87 */ 88 void xsetDescription(org.apache.xmlbeans.XmlString description); 89 90 /*** 91 * Unsets the "description" element 92 */ 93 void unsetDescription(); 94 95 /*** 96 * Gets the "yield" element 97 */ 98 java.lang.String getYield(); 99 100 /*** 101 * Gets (as xml) the "yield" element 102 */ 103 org.apache.xmlbeans.XmlString xgetYield(); 104 105 /*** 106 * True if has "yield" element 107 */ 108 boolean isSetYield(); 109 110 /*** 111 * Sets the "yield" element 112 */ 113 void setYield(java.lang.String yield); 114 115 /*** 116 * Sets (as xml) the "yield" element 117 */ 118 void xsetYield(org.apache.xmlbeans.XmlString yield); 119 120 /*** 121 * Unsets the "yield" element 122 */ 123 void unsetYield(); 124 125 /*** 126 * Gets the "credit" element 127 */ 128 java.lang.String getCredit(); 129 130 /*** 131 * Gets (as xml) the "credit" element 132 */ 133 org.apache.xmlbeans.XmlString xgetCredit(); 134 135 /*** 136 * True if has "credit" element 137 */ 138 boolean isSetCredit(); 139 140 /*** 141 * Sets the "credit" element 142 */ 143 void setCredit(java.lang.String credit); 144 145 /*** 146 * Sets (as xml) the "credit" element 147 */ 148 void xsetCredit(org.apache.xmlbeans.XmlString credit); 149 150 /*** 151 * Unsets the "credit" element 152 */ 153 void unsetCredit(); 154 155 /*** 156 * Gets the "ingredients" element 157 */ 158 net.sf.mrl.RecipeDocument.Recipe.Ingredients getIngredients(); 159 160 /*** 161 * Sets the "ingredients" element 162 */ 163 void setIngredients(net.sf.mrl.RecipeDocument.Recipe.Ingredients ingredients); 164 165 /*** 166 * Appends and returns a new empty "ingredients" element 167 */ 168 net.sf.mrl.RecipeDocument.Recipe.Ingredients addNewIngredients(); 169 170 /*** 171 * Gets the "directions" element 172 */ 173 net.sf.mrl.RecipeDocument.Recipe.Directions getDirections(); 174 175 /*** 176 * Sets the "directions" element 177 */ 178 void setDirections(net.sf.mrl.RecipeDocument.Recipe.Directions directions); 179 180 /*** 181 * Appends and returns a new empty "directions" element 182 */ 183 net.sf.mrl.RecipeDocument.Recipe.Directions addNewDirections(); 184 185 /*** 186 * Gets the "times" element 187 */ 188 net.sf.mrl.RecipeDocument.Recipe.Times getTimes(); 189 190 /*** 191 * True if has "times" element 192 */ 193 boolean isSetTimes(); 194 195 /*** 196 * Sets the "times" element 197 */ 198 void setTimes(net.sf.mrl.RecipeDocument.Recipe.Times times); 199 200 /*** 201 * Appends and returns a new empty "times" element 202 */ 203 net.sf.mrl.RecipeDocument.Recipe.Times addNewTimes(); 204 205 /*** 206 * Unsets the "times" element 207 */ 208 void unsetTimes(); 209 210 /*** 211 * Gets the "ratings" element 212 */ 213 net.sf.mrl.RecipeDocument.Recipe.Ratings getRatings(); 214 215 /*** 216 * True if has "ratings" element 217 */ 218 boolean isSetRatings(); 219 220 /*** 221 * Sets the "ratings" element 222 */ 223 void setRatings(net.sf.mrl.RecipeDocument.Recipe.Ratings ratings); 224 225 /*** 226 * Appends and returns a new empty "ratings" element 227 */ 228 net.sf.mrl.RecipeDocument.Recipe.Ratings addNewRatings(); 229 230 /*** 231 * Unsets the "ratings" element 232 */ 233 void unsetRatings(); 234 235 /*** 236 * Gets the "comments" element 237 */ 238 java.lang.String getComments(); 239 240 /*** 241 * Gets (as xml) the "comments" element 242 */ 243 org.apache.xmlbeans.XmlString xgetComments(); 244 245 /*** 246 * True if has "comments" element 247 */ 248 boolean isSetComments(); 249 250 /*** 251 * Sets the "comments" element 252 */ 253 void setComments(java.lang.String comments); 254 255 /*** 256 * Sets (as xml) the "comments" element 257 */ 258 void xsetComments(org.apache.xmlbeans.XmlString comments); 259 260 /*** 261 * Unsets the "comments" element 262 */ 263 void unsetComments(); 264 265 /*** 266 * An XML ingredients(@http://mrl.sf.net). 267 * 268 * This is a complex type. 269 */ 270 public interface Ingredients extends org.apache.xmlbeans.XmlObject 271 { 272 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("ingredients0686elemtype"); 273 274 /*** 275 * Gets array of all "ingredient" elements 276 */ 277 net.sf.mrl.IngredientDocument.Ingredient[] getIngredientArray(); 278 279 /*** 280 * Gets ith "ingredient" element 281 */ 282 net.sf.mrl.IngredientDocument.Ingredient getIngredientArray(int i); 283 284 /*** 285 * Returns number of "ingredient" element 286 */ 287 int sizeOfIngredientArray(); 288 289 /*** 290 * Sets array of all "ingredient" element 291 */ 292 void setIngredientArray(net.sf.mrl.IngredientDocument.Ingredient[] ingredientArray); 293 294 /*** 295 * Sets ith "ingredient" element 296 */ 297 void setIngredientArray(int i, net.sf.mrl.IngredientDocument.Ingredient ingredient); 298 299 /*** 300 * Inserts and returns a new empty value (as xml) as the ith "ingredient" element 301 */ 302 net.sf.mrl.IngredientDocument.Ingredient insertNewIngredient(int i); 303 304 /*** 305 * Appends and returns a new empty value (as xml) as the last "ingredient" element 306 */ 307 net.sf.mrl.IngredientDocument.Ingredient addNewIngredient(); 308 309 /*** 310 * Removes the ith "ingredient" element 311 */ 312 void removeIngredient(int i); 313 314 /*** 315 * A factory class with static methods for creating instances 316 * of this type. 317 */ 318 319 public static final class Factory 320 { 321 public static net.sf.mrl.RecipeDocument.Recipe.Ingredients newInstance() { 322 return (net.sf.mrl.RecipeDocument.Recipe.Ingredients) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 323 324 public static net.sf.mrl.RecipeDocument.Recipe.Ingredients newInstance(org.apache.xmlbeans.XmlOptions options) { 325 return (net.sf.mrl.RecipeDocument.Recipe.Ingredients) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 326 327 private Factory() { } // No instance of this class allowed 328 } 329 } 330 331 /*** 332 * An XML directions(@http://mrl.sf.net). 333 * 334 * This is a complex type. 335 */ 336 public interface Directions extends org.apache.xmlbeans.XmlObject 337 { 338 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("directionsafc8elemtype"); 339 340 /*** 341 * Gets array of all "step" elements 342 */ 343 net.sf.mrl.StepDocument.Step[] getStepArray(); 344 345 /*** 346 * Gets ith "step" element 347 */ 348 net.sf.mrl.StepDocument.Step getStepArray(int i); 349 350 /*** 351 * Returns number of "step" element 352 */ 353 int sizeOfStepArray(); 354 355 /*** 356 * Sets array of all "step" element 357 */ 358 void setStepArray(net.sf.mrl.StepDocument.Step[] stepArray); 359 360 /*** 361 * Sets ith "step" element 362 */ 363 void setStepArray(int i, net.sf.mrl.StepDocument.Step step); 364 365 /*** 366 * Inserts and returns a new empty value (as xml) as the ith "step" element 367 */ 368 net.sf.mrl.StepDocument.Step insertNewStep(int i); 369 370 /*** 371 * Appends and returns a new empty value (as xml) as the last "step" element 372 */ 373 net.sf.mrl.StepDocument.Step addNewStep(); 374 375 /*** 376 * Removes the ith "step" element 377 */ 378 void removeStep(int i); 379 380 /*** 381 * A factory class with static methods for creating instances 382 * of this type. 383 */ 384 385 public static final class Factory 386 { 387 public static net.sf.mrl.RecipeDocument.Recipe.Directions newInstance() { 388 return (net.sf.mrl.RecipeDocument.Recipe.Directions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 389 390 public static net.sf.mrl.RecipeDocument.Recipe.Directions newInstance(org.apache.xmlbeans.XmlOptions options) { 391 return (net.sf.mrl.RecipeDocument.Recipe.Directions) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 392 393 private Factory() { } // No instance of this class allowed 394 } 395 } 396 397 /*** 398 * An XML times(@http://mrl.sf.net). 399 * 400 * This is a complex type. 401 */ 402 public interface Times extends org.apache.xmlbeans.XmlObject 403 { 404 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("timesc10aelemtype"); 405 406 /*** 407 * Gets array of all "time" elements 408 */ 409 net.sf.mrl.TimeDocument.Time[] getTimeArray(); 410 411 /*** 412 * Gets ith "time" element 413 */ 414 net.sf.mrl.TimeDocument.Time getTimeArray(int i); 415 416 /*** 417 * Returns number of "time" element 418 */ 419 int sizeOfTimeArray(); 420 421 /*** 422 * Sets array of all "time" element 423 */ 424 void setTimeArray(net.sf.mrl.TimeDocument.Time[] timeArray); 425 426 /*** 427 * Sets ith "time" element 428 */ 429 void setTimeArray(int i, net.sf.mrl.TimeDocument.Time time); 430 431 /*** 432 * Inserts and returns a new empty value (as xml) as the ith "time" element 433 */ 434 net.sf.mrl.TimeDocument.Time insertNewTime(int i); 435 436 /*** 437 * Appends and returns a new empty value (as xml) as the last "time" element 438 */ 439 net.sf.mrl.TimeDocument.Time addNewTime(); 440 441 /*** 442 * Removes the ith "time" element 443 */ 444 void removeTime(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 net.sf.mrl.RecipeDocument.Recipe.Times newInstance() { 454 return (net.sf.mrl.RecipeDocument.Recipe.Times) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 455 456 public static net.sf.mrl.RecipeDocument.Recipe.Times newInstance(org.apache.xmlbeans.XmlOptions options) { 457 return (net.sf.mrl.RecipeDocument.Recipe.Times) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 458 459 private Factory() { } // No instance of this class allowed 460 } 461 } 462 463 /*** 464 * An XML ratings(@http://mrl.sf.net). 465 * 466 * This is a complex type. 467 */ 468 public interface Ratings extends org.apache.xmlbeans.XmlObject 469 { 470 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sE29068435D67997CD7F0E8EBB2A08AD1.TypeSystemHolder.typeSystem.resolveHandle("ratings6a3aelemtype"); 471 472 /*** 473 * Gets array of all "rating" elements 474 */ 475 net.sf.mrl.RatingDocument.Rating[] getRatingArray(); 476 477 /*** 478 * Gets ith "rating" element 479 */ 480 net.sf.mrl.RatingDocument.Rating getRatingArray(int i); 481 482 /*** 483 * Returns number of "rating" element 484 */ 485 int sizeOfRatingArray(); 486 487 /*** 488 * Sets array of all "rating" element 489 */ 490 void setRatingArray(net.sf.mrl.RatingDocument.Rating[] ratingArray); 491 492 /*** 493 * Sets ith "rating" element 494 */ 495 void setRatingArray(int i, net.sf.mrl.RatingDocument.Rating rating); 496 497 /*** 498 * Inserts and returns a new empty value (as xml) as the ith "rating" element 499 */ 500 net.sf.mrl.RatingDocument.Rating insertNewRating(int i); 501 502 /*** 503 * Appends and returns a new empty value (as xml) as the last "rating" element 504 */ 505 net.sf.mrl.RatingDocument.Rating addNewRating(); 506 507 /*** 508 * Removes the ith "rating" element 509 */ 510 void removeRating(int i); 511 512 /*** 513 * A factory class with static methods for creating instances 514 * of this type. 515 */ 516 517 public static final class Factory 518 { 519 public static net.sf.mrl.RecipeDocument.Recipe.Ratings newInstance() { 520 return (net.sf.mrl.RecipeDocument.Recipe.Ratings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 521 522 public static net.sf.mrl.RecipeDocument.Recipe.Ratings newInstance(org.apache.xmlbeans.XmlOptions options) { 523 return (net.sf.mrl.RecipeDocument.Recipe.Ratings) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 524 525 private Factory() { } // No instance of this class allowed 526 } 527 } 528 529 /*** 530 * A factory class with static methods for creating instances 531 * of this type. 532 */ 533 534 public static final class Factory 535 { 536 public static net.sf.mrl.RecipeDocument.Recipe newInstance() { 537 return (net.sf.mrl.RecipeDocument.Recipe) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 538 539 public static net.sf.mrl.RecipeDocument.Recipe newInstance(org.apache.xmlbeans.XmlOptions options) { 540 return (net.sf.mrl.RecipeDocument.Recipe) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 541 542 private Factory() { } // No instance of this class allowed 543 } 544 } 545 546 /*** 547 * A factory class with static methods for creating instances 548 * of this type. 549 */ 550 551 public static final class Factory 552 { 553 public static net.sf.mrl.RecipeDocument newInstance() { 554 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); } 555 556 public static net.sf.mrl.RecipeDocument newInstance(org.apache.xmlbeans.XmlOptions options) { 557 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); } 558 559 public static net.sf.mrl.RecipeDocument parse(java.lang.String s) throws org.apache.xmlbeans.XmlException { 560 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); } 561 562 public static net.sf.mrl.RecipeDocument parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 563 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); } 564 565 public static net.sf.mrl.RecipeDocument parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException { 566 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); } 567 568 public static net.sf.mrl.RecipeDocument parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 569 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); } 570 571 public static net.sf.mrl.RecipeDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException { 572 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); } 573 574 public static net.sf.mrl.RecipeDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 575 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); } 576 577 public static net.sf.mrl.RecipeDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException { 578 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); } 579 580 public static net.sf.mrl.RecipeDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 581 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); } 582 583 public static net.sf.mrl.RecipeDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException { 584 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); } 585 586 public static net.sf.mrl.RecipeDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException { 587 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); } 588 589 public static net.sf.mrl.RecipeDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException { 590 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); } 591 592 public static net.sf.mrl.RecipeDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException { 593 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); } 594 595 public static net.sf.mrl.RecipeDocument parse(weblogic.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 596 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); } 597 598 public static net.sf.mrl.RecipeDocument parse(weblogic.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 599 return (net.sf.mrl.RecipeDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); } 600 601 public static weblogic.xml.stream.XMLInputStream newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 602 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); } 603 604 public static weblogic.xml.stream.XMLInputStream newValidatingXMLInputStream(weblogic.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, weblogic.xml.stream.XMLStreamException { 605 return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); } 606 607 private Factory() { } // No instance of this class allowed 608 } 609 }

This page was automatically generated by Maven