com.webrenderer.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

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


length

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


tags

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


toString

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