com.atlassian.pageobjects.elements
Class PageElementIterableImpl

java.lang.Object
  extended by com.atlassian.pageobjects.elements.PageElementIterableImpl
All Implemented Interfaces:
Iterable<PageElement>

public class PageElementIterableImpl
extends Object
implements Iterable<PageElement>

Iterable of PageElements defined by the criteria given to the constructor. Each call to iterator() returns a fresh list.

Since:
2.1

Constructor Summary
PageElementIterableImpl(PageElementFinder finder, Class<? extends PageElement> fieldType, org.openqa.selenium.By by, TimeoutType timeoutType)
           
 
Method Summary
 Iterator<PageElement> iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageElementIterableImpl

public PageElementIterableImpl(PageElementFinder finder,
                               Class<? extends PageElement> fieldType,
                               org.openqa.selenium.By by,
                               TimeoutType timeoutType)
Method Detail

iterator

public Iterator<PageElement> iterator()
Specified by:
iterator in interface Iterable<PageElement>


Copyright © 2014 Atlassian. All rights reserved.