org.jboss.test.selenium.locator.iteration
Class ElementOcurrenceList<T extends IterableLocator<T>>

java.lang.Object
  extended by org.jboss.test.selenium.locator.iteration.AbstractElementList<T>
      extended by org.jboss.test.selenium.locator.iteration.ElementOcurrenceList<T>
Type Parameters:
T - the IterableLocator implementation
All Implemented Interfaces:
Iterable<T>

public class ElementOcurrenceList<T extends IterableLocator<T>>
extends AbstractElementList<T>

Able to iterate over all occurrences of given locator on whole page.

In opposite to ChildElementList, it returns all the descendants satisfying given expression.

Version:
$Revision$
Author:
Lukas Fryc
See Also:
AbstractElementList

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.test.selenium.locator.iteration.AbstractElementList
AbstractElementList.ElementIterator
 
Field Summary
 
Fields inherited from class org.jboss.test.selenium.locator.iteration.AbstractElementList
selenium
 
Constructor Summary
ElementOcurrenceList(T iterableLocator)
          Instantiates a new element ocurrence list.
 
Method Summary
 
Methods inherited from class org.jboss.test.selenium.locator.iteration.AbstractElementList
iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementOcurrenceList

public ElementOcurrenceList(T iterableLocator)
Instantiates a new element ocurrence list.

Parameters:
iterableLocator - the iterable locator


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.