watij.elements
Class Options

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

public class Options
extends HtmlElementCollections<Option>


Constructor Summary
Options(java.util.List<org.w3c.dom.Element> list, HtmlElementFactory htmlElementFactory)
           
 
Method Summary
protected  Option get(org.w3c.dom.Element element)
           
 boolean matches(org.w3c.dom.Element element)
           
 
Methods inherited from class watij.elements.HtmlElementCollections
elements, filter, 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

Options

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

get

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

matches

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