|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<IDispatch>
net.sf.jiffie.EmptyElementList
public final class EmptyElementList
This class represents an empty collection of IHTMLElements. New instances of this class should not be created (hence the private constructor). Instead references to the LIST member should be used where empty collections are required.
| Field Summary | |
|---|---|
static EmptyElementList |
LIST
|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Method Summary | |
|---|---|
IDispatch |
get(int index)
|
boolean |
isReleased()
This method returns a boolean flag indicating if this object has already been released. |
IDispatch |
item(int index)
This is a convenience method designed to emulate the behaviour of the item method of the IHTMLElementCollection interface. |
ElementList |
item(java.lang.String name)
This is a convenience method designed to emulate the behaviour of the item method of the IHTMLElementCollection interface. |
void |
release()
This method releases the COM object associated with this object. |
int |
size()
|
ElementList |
tags(java.lang.String name)
This is a convenience method designed to emulate the behaviour of the tags method of the IHTMLElementCollection interface. |
| Methods inherited from class java.util.AbstractList |
|---|
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
| Field Detail |
|---|
public static final EmptyElementList LIST
| Method Detail |
|---|
public IDispatch get(int index)
get in interface java.util.List<IDispatch>get in class java.util.AbstractList<IDispatch>public int size()
size in interface java.util.Collection<IDispatch>size in interface java.util.List<IDispatch>size in class java.util.AbstractCollection<IDispatch>public IDispatch item(int index)
item in interface ElementListindex - zero based array index
public ElementList item(java.lang.String name)
item in interface ElementListname - name or id attribute of a tag
public ElementList tags(java.lang.String name)
tags in interface ElementListname - tag type name
public void release()
release in interface Releaseablepublic boolean isReleased()
isReleased in interface Releaseable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||