T - type what we want to iterate over - this type will be returned by method provided by this abtract classpublic abstract class AbstractIterableLocator<T extends IterableLocator<T>> extends AbstractElementLocator<T> implements IterableLocator<T>
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractIterableLocator.ElementIterator
The iterator over elements given by IterableLocator.
|
| Constructor and Description |
|---|
AbstractIterableLocator(String locator)
Constructs locator for given string representation
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
iterator()
Returns the iterator through the occurrences of this locator
|
int |
size()
Returns the count of occurrences of this locator
|
format, getAttributegetRawLocator, inSeleniumRepresentation, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetformat, getAttribute, getLocationStrategygetRawLocatorinSeleniumRepresentationpublic AbstractIterableLocator(String locator)
locator - the string representation of locatorpublic Iterator<T> iterator()
IterableLocatoriterator in interface Iterable<T extends IterableLocator<T>>iterator in interface IterableLocator<T extends IterableLocator<T>>public int size()
IterableLocatorsize in interface IterableLocator<T extends IterableLocator<T>>Copyright © 2013 JBoss by Red Hat. All Rights Reserved.