Main Page | Class Hierarchy | Class List | Class Members | Related Pages

org::jdom::ContentList::FilterList Class Reference

List of all members.

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

Detailed Description

FilterList represents legal JDOM content, including content for Documents or Elements.


Constructor & Destructor Documentation

org::jdom::ContentList::FilterList::FilterList Filter  filter  )  [inline, package]
 

Create a new instance of the FilterList with the specified Filter.


Member Function Documentation

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).

Parameters:
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.

Parameters:
index The offset of the object.
Returns:
The Object which was returned.

Object org::jdom::ContentList::FilterList::remove int  index  )  [inline]
 

Remove the object at the specified offset.

Parameters:
index The offset of the object.
Returns:
The Object which was removed.

Object org::jdom::ContentList::FilterList::set int  index,
Object  obj
[inline]
 

Set the object at the specified location to the supplied object.

Parameters:
index The location to set the value to.
obj The location to set the value to.
Returns:
The object which was replaced. throws IndexOutOfBoundsException if index < 0 || index >= size()

int org::jdom::ContentList::FilterList::size  )  [inline]
 

Return the number of items in this list

Returns:
The number of items in this list.


Member Data Documentation

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

Filter org::jdom::ContentList::FilterList::filter [protected]
 

The Filter


The documentation for this class was generated from the following file:
Generated on Tue Oct 26 18:17:01 2004 for JDOM by  doxygen 1.3.9.1