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

Quick Search    Search Deep

org.apache.xmlbeans.samples.validation.todolist.impl
Class TodolistDocumentImpl.TodolistImpl  view TodolistDocumentImpl.TodolistImpl download TodolistDocumentImpl.TodolistImpl.java

java.lang.Object
  extended byorg.apache.xmlbeans.impl.values.XmlObjectBase
      extended byorg.apache.xmlbeans.impl.values.XmlComplexContentImpl
          extended byorg.apache.xmlbeans.samples.validation.todolist.impl.TodolistDocumentImpl.TodolistImpl
All Implemented Interfaces:
java.io.Serializable, org.apache.xmlbeans.SimpleValue, org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist, org.apache.xmlbeans.impl.values.TypeStoreUser, org.apache.xmlbeans.XmlObject, org.apache.xmlbeans.XmlTokenSource
Enclosing class:
TodolistDocumentImpl

public static class TodolistDocumentImpl.TodolistImpl
extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl
implements org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

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


Nested Class Summary
 
Nested classes inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
 
Nested classes inherited from class org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist
org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist.Factory
 
Field Summary
private static javax.xml.namespace.QName ITEM$0
           
 
Fields inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
 
Fields inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_voorVc, MAJOR_VERSION_NUMBER, MINOR_VERSION_NUMBER
 
Fields inherited from interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist
type
 
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
 
Constructor Summary
TodolistDocumentImpl.TodolistImpl(org.apache.xmlbeans.SchemaType sType)
           
 
Method Summary
 org.apache.xmlbeans.samples.validation.todolist.ItemType addNewItem()
          Appends and returns a new empty value (as xml) as the last "item" element
 org.apache.xmlbeans.samples.validation.todolist.ItemType[] getItemArray()
          Gets array of all "item" elements
 org.apache.xmlbeans.samples.validation.todolist.ItemType getItemArray(int i)
          Gets ith "item" element
 org.apache.xmlbeans.samples.validation.todolist.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, org.apache.xmlbeans.samples.validation.todolist.ItemType item)
          Sets ith "item" element
 void setItemArray(org.apache.xmlbeans.samples.validation.todolist.ItemType[] itemArray)
          Sets array of all "item" element
 int sizeOfItemArray()
          Returns number of "item" element
 
Methods inherited from class org.apache.xmlbeans.impl.values.XmlComplexContentImpl
arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, arraySetterHelper, compute_text, equal_to, get_default_attribute_text, get_default_element_text, get_elementflags, is_child_element_order_sensitive, new_visitor, schemaType, set_nil, set_String, set_text, unionArraySetterHelper, unionArraySetterHelper, update_from_complex_content, value_hash_code
 
Methods inherited from class org.apache.xmlbeans.impl.values.XmlObjectBase
_isComplexContent, _isComplexType, _validateOnSet, attach_store, bigDecimalValue, bigIntegerValue, booleanValue, build_nil, build_text, byteArrayValue, byteValue, calendarValue, changeType, check_dated, check_orphaned, compare_to, compareTo, compareValue, copy, create_attribute_user, create_element_user, dateValue, disconnect_store, documentProperties, doubleValue, dump, elementFlags, enumValue, equals, execQuery, execQuery, floatValue, gDateValue, gDurationValue, get_attribute_field, get_attribute_type, get_attributeflags, get_default_attribute_value, get_element_ending_delimiters, get_element_type, get_schema_type, get_store, get_wscanon_rule, get_wscanon_text, getBigDecimalValue, getBigIntegerValue, getBooleanValue, getByteArrayValue, getByteValue, getCalendarValue, getDateValue, getDomNode, getDoubleValue, getEnumValue, getFloatValue, getGDateValue, getGDurationValue, getIntValue, getListValue, getLongValue, getObjectValue, getQNameValue, getShortValue, getStringValue, getXmlLocale, has_store, hashCode, init_flags, initComplexType, instanceType, intValue, invalidate_element_order, invalidate_nilvalue, invalidate_value, is_defaultable_ws, is_orphaned, isDefault, isDefaultable, isFixed, isImmutable, isInstanceOf, isNil, isNillable, java_value, listValue, longValue, monitor, newCursor, newCursorForce, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, objectSet, objectValue, qNameValue, save, save, save, save, save, save, save, save, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set_b64, set_BigDecimal, set_BigInteger, set_boolean, set_byte, set_ByteArray, set_Calendar, set_char, set_ComplexXml, set_Date, set_double, set_enum, set_float, set_GDate, set_GDuration, set_hex, set_int, set_list, set_long, set_newValue, set_notation, set_QName, set_short, set_xmlanysimple, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setBigDecimalValue, setBigIntegerValue, setBooleanValue, setByteArrayValue, setByteValue, setCalendarValue, setDateValue, setDoubleValue, setEnumValue, setFloatValue, setGDateValue, setGDurationValue, setImmutable, setIntValue, setListValue, setLongValue, setNil, setObjectValue, setQNameValue, setShortValue, setStringValue, setValidateOnSet, shortValue, stringValue, substitute, toString, uses_invalidate_value, validate_now, validate_simpleval, validate, validate, valueEquals, valueHashCode, writeReplace, xgetListValue, xlistValue, xmlText, xmlText
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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

ITEM$0

private static final javax.xml.namespace.QName ITEM$0
Constructor Detail

TodolistDocumentImpl.TodolistImpl

public TodolistDocumentImpl.TodolistImpl(org.apache.xmlbeans.SchemaType sType)
Method Detail

getItemArray

public org.apache.xmlbeans.samples.validation.todolist.ItemType[] getItemArray()
Gets array of all "item" elements

Specified by:
getItemArray in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

getItemArray

public org.apache.xmlbeans.samples.validation.todolist.ItemType getItemArray(int i)
Gets ith "item" element

Specified by:
getItemArray in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

sizeOfItemArray

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

Specified by:
sizeOfItemArray in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

setItemArray

public void setItemArray(org.apache.xmlbeans.samples.validation.todolist.ItemType[] itemArray)
Sets array of all "item" element

Specified by:
setItemArray in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

setItemArray

public void setItemArray(int i,
                         org.apache.xmlbeans.samples.validation.todolist.ItemType item)
Sets ith "item" element

Specified by:
setItemArray in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

insertNewItem

public org.apache.xmlbeans.samples.validation.todolist.ItemType insertNewItem(int i)
Inserts and returns a new empty value (as xml) as the ith "item" element

Specified by:
insertNewItem in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

addNewItem

public org.apache.xmlbeans.samples.validation.todolist.ItemType addNewItem()
Appends and returns a new empty value (as xml) as the last "item" element

Specified by:
addNewItem in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist

removeItem

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

Specified by:
removeItem in interface org.apache.xmlbeans.samples.validation.todolist.TodolistDocument.Todolist