Ajocado Implementation 1.0.0.Alpha2

org.jboss.arquillian.ajocado.locator
Interface ExtendedLocator<T extends ExtendedLocator<T>>

Type Parameters:
T - the type of locator which can be derived from this locator
All Superinterfaces:
CompoundableLocator<T>, ElementLocator<T>, IterableLocator<T>, Locator<T>
All Known Implementing Classes:
JQueryLocator, XPathLocator

public interface ExtendedLocator<T extends ExtendedLocator<T>>
extends IterableLocator<T>, CompoundableLocator<T>

Locator which is iterable and compoundable - it means you can iterate through it's descendants ( IterableLocator) and can derive it's descendants using composition of locators (CompoundableLocator).

Version:
$Revision$
Author:
Lukas Fryc
See Also:
IterableLocator, CompoundableLocator

Method Summary
 ExtendedLocator<T> format(Object... args)
           
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.IterableLocator
getAllChildren, getAllOccurrences, getChildren, getDescendants, getNthChildElement, getNthOccurence
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.CompoundableLocator
getChild, getDescendant
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.ElementLocator
getAttribute, getLocationStrategy
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.Locator
getAsString, getRawLocator
 

Method Detail

format

ExtendedLocator<T> format(Object... args)
Specified by:
format in interface ElementLocator<T extends ExtendedLocator<T>>
Specified by:
format in interface Locator<T extends ExtendedLocator<T>>

Ajocado Implementation 1.0.0.Alpha2

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