com.webrenderer.se.dom
Interface IElementCollection


public interface IElementCollection

Element Collection - stores a collection of Elements The first item of an ElementCollection is stored at position 0.


Method Summary
 IElement item(int index)
          Returns the Element at position index in the collection.
 int length()
          Returns the number of elements in the collection.
 IElementCollection tags(java.lang.String tagName)
          ReturnsIElementCollection of this collection containing all elements with the tag tagName
 java.lang.String toString()
          Returns a String representation of the collection
 

Method Detail

item

IElement item(int index)
Returns the Element at position index in the collection.


length

int length()
Returns the number of elements in the collection.


tags

IElementCollection tags(java.lang.String tagName)
ReturnsIElementCollection of this collection containing all elements with the tag tagName


toString

java.lang.String toString()
Returns a String representation of the collection

Overrides:
toString in class java.lang.Object