net.sf.mrl
Interface RecipeDocument.Recipe.Ingredients

All Superinterfaces:
org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
All Known Implementing Classes:
RecipeDocumentImpl.RecipeImpl.IngredientsImpl
Enclosing interface:
RecipeDocument.Recipe

public static interface RecipeDocument.Recipe.Ingredients
extends org.apache.xmlbeans.XmlObject

An XML ingredients(@http://mrl.sf.net). This is a complex type.


Nested Class Summary
static class RecipeDocument.Recipe.Ingredients.Factory
          A factory class with static methods for creating instances of this type.
 
Field Summary
static org.apache.xmlbeans.SchemaType type
           
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Method Summary
 IngredientDocument.Ingredient addNewIngredient()
          Appends and returns a new empty value (as xml) as the last "ingredient" element
 IngredientDocument.Ingredient[] getIngredientArray()
          Gets array of all "ingredient" elements
 IngredientDocument.Ingredient getIngredientArray(int i)
          Gets ith "ingredient" element
 IngredientDocument.Ingredient insertNewIngredient(int i)
          Inserts and returns a new empty value (as xml) as the ith "ingredient" element
 void removeIngredient(int i)
          Removes the ith "ingredient" element
 void setIngredientArray(IngredientDocument.Ingredient[] ingredientArray)
          Sets array of all "ingredient" element
 void setIngredientArray(int i, IngredientDocument.Ingredient ingredient)
          Sets ith "ingredient" element
 int sizeOfIngredientArray()
          Returns number of "ingredient" element
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectPath, selectPath, set, setNil, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

public static final org.apache.xmlbeans.SchemaType type
Method Detail

getIngredientArray

public IngredientDocument.Ingredient[] getIngredientArray()
Gets array of all "ingredient" elements


getIngredientArray

public IngredientDocument.Ingredient getIngredientArray(int i)
Gets ith "ingredient" element


sizeOfIngredientArray

public int sizeOfIngredientArray()
Returns number of "ingredient" element


setIngredientArray

public void setIngredientArray(IngredientDocument.Ingredient[] ingredientArray)
Sets array of all "ingredient" element


setIngredientArray

public void setIngredientArray(int i,
                               IngredientDocument.Ingredient ingredient)
Sets ith "ingredient" element


insertNewIngredient

public IngredientDocument.Ingredient insertNewIngredient(int i)
Inserts and returns a new empty value (as xml) as the ith "ingredient" element


addNewIngredient

public IngredientDocument.Ingredient addNewIngredient()
Appends and returns a new empty value (as xml) as the last "ingredient" element


removeIngredient

public void removeIngredient(int i)
Removes the ith "ingredient" element



Copyright © 2004 Craig S. Cottingham. All Rights Reserved.