Ajocado Implementation 1.0.0.Alpha2

org.jboss.arquillian.ajocado.locator.iteration
Class AbstractElementList<T extends IterableLocator<T>>

java.lang.Object
  extended by org.jboss.arquillian.ajocado.locator.iteration.AbstractElementList<T>
Type Parameters:
T - the IterableLocator implementation
All Implemented Interfaces:
Iterable<T>
Direct Known Subclasses:
ChildElementList, ElementOcurrenceList

public abstract class AbstractElementList<T extends IterableLocator<T>>
extends Object
implements Iterable<T>

Abstract class able to iterate over IterableLocator<T>.

Encapsulates the functionality around the iterating over IterableLocators.

Version:
$Revision$
Author:
Lukas Fryc
See Also:
ChildElementList, ElementOcurrenceList

Nested Class Summary
 class AbstractElementList.ElementIterator
          The iterator over elements given by IterableLocator.
 
Field Summary
protected  AjaxSelenium selenium
          Proxy to local selenium instance
 
Constructor Summary
AbstractElementList(T iterableLocator)
          Instantiates a new abstract element list for given iterableLocator.
 
Method Summary
 Iterator<T> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selenium

protected AjaxSelenium selenium
Proxy to local selenium instance

Constructor Detail

AbstractElementList

public AbstractElementList(T iterableLocator)
Instantiates a new abstract element list for given iterableLocator.

Parameters:
iterableLocator - the iterable locator
Method Detail

iterator

public Iterator<T> iterator()
Specified by:
iterator in interface Iterable<T extends IterableLocator<T>>

Ajocado Implementation 1.0.0.Alpha2

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