watij.elements
Class HtmlElements

java.lang.Object
  extended by watij.BaseHtmlFinder
      extended by watij.elements.HtmlElementCollections<HtmlElement>
          extended by watij.elements.HtmlElements
All Implemented Interfaces:
java.lang.Iterable<HtmlElement>, Matcher, HtmlFinder

public class HtmlElements
extends HtmlElementCollections<HtmlElement>


Constructor Summary
HtmlElements(java.util.List<org.w3c.dom.Element> list, HtmlElementFactory htmlElementFactory)
           
 
Method Summary
protected  void filter()
           
protected  HtmlElement get(org.w3c.dom.Element element)
           
 boolean matches(org.w3c.dom.Element element)
           
 
Methods inherited from class watij.elements.HtmlElementCollections
elements, flash, get, htmlElementFactory, htmlElements, iterator, length, show, toString
 
Methods inherited from class watij.BaseHtmlFinder
bodies, bodies, bodies, body, body, body, button, button, button, button, buttons, buttons, buttons, cell, cell, cell, cells, cells, cells, checkbox, checkbox, checkbox, checkbox, checkbox, checkboxes, checkboxes, checkboxes, div, div, div, divs, divs, divs, fileField, fileField, fileField, fileFields, fileFields, fileFields, form, form, form, form, forms, forms, forms, frame, frame, frame, frame, frames, frames, frames, hidden, hidden, hidden, hiddens, hiddens, hiddens, htmlElement, htmlElement, htmlElement, htmlElements, htmlElements, image, image, image, images, images, images, label, label, label, label, labels, labels, labels, link, link, link, link, links, links, links, option, option, option, options, options, options, radio, radio, radio, radio, radio, radios, radios, radios, row, row, row, rows, rows, rows, selectList, selectList, selectList, selectList, selectLists, selectLists, selectLists, span, span, span, spans, spans, spans, table, table, table, tables, tables, tables, textField, textField, textField, textFields, textFields, textFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HtmlElements

public HtmlElements(java.util.List<org.w3c.dom.Element> list,
                    HtmlElementFactory htmlElementFactory)
             throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

get

protected HtmlElement get(org.w3c.dom.Element element)
                   throws java.lang.Exception
Specified by:
get in class HtmlElementCollections<HtmlElement>
Throws:
java.lang.Exception

filter

protected void filter()
               throws java.lang.Exception
Overrides:
filter in class HtmlElementCollections<HtmlElement>
Throws:
java.lang.Exception

matches

public boolean matches(org.w3c.dom.Element element)
                throws java.lang.Exception
Throws:
java.lang.Exception