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

public interface ElementList
This interface represents a collection of IHTMLElements and is similar in operation to an IHTMLElementCollection. It is used to simplify the management of methods which can potentially return null, a single object, or a list of objects. For these cases an instance of an object implementing this interface is returned. These objects may represent an empty list, a list containing a single object, or a list containing multiple objects.
| Method Summary | |
|---|---|
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. |
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 interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Methods inherited from interface net.sf.jiffie.Releaseable |
|---|
isReleased, release |
| Method Detail |
|---|
IDispatch item(int index)
throws JiffieException
index - zero based array index
JiffieException - if there is an error creating list
ElementList item(java.lang.String name)
throws JiffieException
name - name or id attribute of a tag
JiffieException - if there is an error creating list
ElementList tags(java.lang.String name)
throws JiffieException
name - tag type name
JiffieException - if there is an error creating list
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||