|
Ajocado API 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - type what we want to iterate over - this type will be returned by method provided by this interfacepublic interface IterableLocator<T extends IterableLocator<T>>
Locator which can iterate over it's descendant.
| Method Summary | |
|---|---|
Iterable<T> |
getAllChildren()
Gets the all children of element given by this locator |
Iterable<T> |
getAllOccurrences()
Gets the all occurrences of element given by this locator |
Iterable<T> |
getChildren(T elementLocator)
Gets the children given by locator composed from this locator and given elementLocator. |
Iterable<T> |
getDescendants(T elementLocator)
Gets all the descendants for this locator specified by composed locator from this locator and given elementLocator. |
T |
getNthChildElement(int index)
Gets the N-th child element of this locator. |
T |
getNthOccurence(int index)
Gets the N-th occurence of descendant for this locator's element |
| Methods inherited from interface org.jboss.arquillian.ajocado.locator.ElementLocator |
|---|
format, getAttribute, getLocationStrategy |
| Methods inherited from interface org.jboss.arquillian.ajocado.locator.Locator |
|---|
getAsString, getRawLocator |
| Method Detail |
|---|
T getNthChildElement(int index)
index - the index of the child subsequent to this locator
T getNthOccurence(int index)
index - the index of the descendant of this locator
Iterable<T> getAllChildren()
Iterable<T> getAllOccurrences()
Iterable<T> getChildren(T elementLocator)
elementLocator - the locator for element for composition with this locator
Iterable<T> getDescendants(T elementLocator)
elementLocator - the element locator, which should be added to this locator to specify this element's descendants
|
Ajocado API 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||