Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xmlbeans.samples.validation.todolist
Interface TodolistDocument.Todolist  view TodolistDocument.Todolist download TodolistDocument.Todolist.java

All Superinterfaces:
org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
Enclosing interface:
TodolistDocument

public static interface TodolistDocument.Todolist
extends org.apache.xmlbeans.XmlObject

An XML todolist(@http://xmlbeans.apache.org/samples/validation/todolist). This is a complex type.


Nested Class Summary
static class TodolistDocument.Todolist.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
 ItemType addNewItem()
          Appends and returns a new empty value (as xml) as the last "item" element
 ItemType[] getItemArray()
          Gets array of all "item" elements
 ItemType getItemArray(int i)
          Gets ith "item" element
 ItemType insertNewItem(int i)
          Inserts and returns a new empty value (as xml) as the ith "item" element
 void removeItem(int i)
          Removes the ith "item" element
 void setItemArray(int i, ItemType item)
          Sets ith "item" element
 void setItemArray(ItemType[] itemArray)
          Sets array of all "item" element
 int sizeOfItemArray()
          Returns number of "item" element
 
Methods inherited from interface org.apache.xmlbeans.XmlObject
changeType, compareTo, compareValue, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
 
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
 

Field Detail

type

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

getItemArray

public ItemType[] getItemArray()
Gets array of all "item" elements


getItemArray

public ItemType getItemArray(int i)
Gets ith "item" element


sizeOfItemArray

public int sizeOfItemArray()
Returns number of "item" element


setItemArray

public void setItemArray(ItemType[] itemArray)
Sets array of all "item" element


setItemArray

public void setItemArray(int i,
                         ItemType item)
Sets ith "item" element


insertNewItem

public ItemType insertNewItem(int i)
Inserts and returns a new empty value (as xml) as the ith "item" element


addNewItem

public ItemType addNewItem()
Appends and returns a new empty value (as xml) as the last "item" element


removeItem

public void removeItem(int i)
Removes the ith "item" element