Public Member Functions | |
void | add (int index, Object obj) |
Object | get (int index) |
Iterator | iterator () |
ListIterator | listIterator () |
ListIterator | listIterator (int index) |
Object | remove (int index) |
Object | set (int index, Object obj) |
int | size () |
Protected Attributes | |
Filter | filter |
Package Functions | |
FilterList (Filter filter) | |
Package Attributes | |
int | count = 0 |
int | expected = -1 |
FilterList
represents legal JDOM content, including content for Document
s or Element
s.
org::jdom::ContentList::FilterList::FilterList | ( | Filter | filter | ) | [inline, package] |
Create a new instance of the FilterList with the specified Filter.
void org::jdom::ContentList::FilterList::add | ( | int | index, | |
Object | obj | |||
) | [inline] |
Inserts the specified object at the specified position in this list. Shifts the object currently at that position (if any) and any subsequent objects to the right (adds one to their indices).
index | The location to set the value to. | |
obj | The object to insert into the list. throws IndexOutOfBoundsException if index < 0 || index > size() |
Object org::jdom::ContentList::FilterList::get | ( | int | index | ) | [inline] |
Return the object at the specified offset.
index | The offset of the object. |
Object org::jdom::ContentList::FilterList::remove | ( | int | index | ) | [inline] |
Remove the object at the specified offset.
index | The offset of the object. |
Object org::jdom::ContentList::FilterList::set | ( | int | index, | |
Object | obj | |||
) | [inline] |
Set the object at the specified location to the supplied object.
index | The location to set the value to. | |
obj | The location to set the value to. |
int org::jdom::ContentList::FilterList::size | ( | ) | [inline] |
Return the number of items in this list
Filter org::jdom::ContentList::FilterList::filter [protected] |
The Filter
int org::jdom::ContentList::FilterList::count = 0 [package] |
Current number of items in this view
int org::jdom::ContentList::FilterList::expected = -1 [package] |
Expected modCount in our backing list