|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElementList<T>
PLEASE NOTE: Do not implement this interface directly. Instances are obtained through the XML binding code. Methods may be added to this interface in the future to enhance the binding features, so any direct implementations would be broken.
Interface implemented by a bound proxy when it represents a list of elements.
Method Summary | |
---|---|
void |
add(int index, T element) Adds the specified object before the specified index. |
void |
add(T element) Adds the specified object to the end of the list. |
void |
addElementListListener(ElementListListener listener) Adds the specified listener to receive events when changes are made to this ElementList instance through ElementList methods. |
void |
clear() Removes all elements from the ElementList. |
T |
createElement() For a uniform ElementList, in which all the elements are of the same type, this method returns a new object of that type. |
java.lang.Class |
elementType() If the ElementList represents a single type of element, that type is returned from this method. |
java.lang.Object |
get(int index) |
boolean |
isEmpty() |
java.util.Iterator<T> |
iterator() |
T |
remove(int index) Removes the object at the specified index. |
void |
removeElementListListener(ElementListListener listener) Removes the specified ElementListListener so that it no longer receives events for changes to this ElementList. |
T |
set(int index, java.lang.Object element) Replaces the object at the specified index with the specified object. |
int |
size() Returns the number of items in the ElementList. |
Method Detail |
---|
void add(int index, T element)
java.lang.ClassCastException
- if the object type doesn't match the type required by the ElementList instance.void add(T element)
java.lang.ClassCastException
- if the object type doesn't match the type required by the ElementList instance.void addElementListListener(ElementListListener listener)
void clear()
T createElement()
java.lang.IllegalStateException
- if the ElementList contains a mixture elements with different names.java.lang.Class elementType()
java.lang.Object get(int index)
java.lang.IndexOutOfBoundsException
- if the specified index is invalid.boolean isEmpty()
java.util.Iterator<T> iterator()
iterator
in interface java.lang.Iterable<T>
T remove(int index)
java.lang.IndexOutOfBoundsException
- if the specified index is invalid.void removeElementListListener(ElementListListener listener)
T set(int index, java.lang.Object element)
java.lang.IndexOutOfBoundsException
- if the specified index is invalid.int size()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.5.0) E13403-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |