net.sf.mrl
Interface RecipeDocument.Recipe.Ratings

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

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

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


Nested Class Summary
static class RecipeDocument.Recipe.Ratings.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
 RatingDocument.Rating addNewRating()
          Appends and returns a new empty value (as xml) as the last "rating" element
 RatingDocument.Rating[] getRatingArray()
          Gets array of all "rating" elements
 RatingDocument.Rating getRatingArray(int i)
          Gets ith "rating" element
 RatingDocument.Rating insertNewRating(int i)
          Inserts and returns a new empty value (as xml) as the ith "rating" element
 void removeRating(int i)
          Removes the ith "rating" element
 void setRatingArray(int i, RatingDocument.Rating rating)
          Sets ith "rating" element
 void setRatingArray(RatingDocument.Rating[] ratingArray)
          Sets array of all "rating" element
 int sizeOfRatingArray()
          Returns number of "rating" 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

getRatingArray

public RatingDocument.Rating[] getRatingArray()
Gets array of all "rating" elements


getRatingArray

public RatingDocument.Rating getRatingArray(int i)
Gets ith "rating" element


sizeOfRatingArray

public int sizeOfRatingArray()
Returns number of "rating" element


setRatingArray

public void setRatingArray(RatingDocument.Rating[] ratingArray)
Sets array of all "rating" element


setRatingArray

public void setRatingArray(int i,
                           RatingDocument.Rating rating)
Sets ith "rating" element


insertNewRating

public RatingDocument.Rating insertNewRating(int i)
Inserts and returns a new empty value (as xml) as the ith "rating" element


addNewRating

public RatingDocument.Rating addNewRating()
Appends and returns a new empty value (as xml) as the last "rating" element


removeRating

public void removeRating(int i)
Removes the ith "rating" element



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