Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.locator.element
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>, Iterable<T>, IterableLocator<T>, Locator<T>, SeleniumRepresentable

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)
          Formats the locator with placeholders given by SimplifiedFormat.
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.element.IterableLocator
get, iterator, size
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.element.CompoundableLocator
getChild, getDescendant
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.element.ElementLocator
getAttribute, getLocationStrategy
 
Methods inherited from interface org.jboss.arquillian.ajocado.locator.Locator
getRawLocator
 
Methods inherited from interface org.jboss.arquillian.ajocado.selenium.SeleniumRepresentable
inSeleniumRepresentation
 

Method Detail

format

ExtendedLocator<T> format(Object... args)
Description copied from interface: Locator
Formats the locator with placeholders given by SimplifiedFormat.

Specified by:
format in interface ElementLocator<T extends ExtendedLocator<T>>
Specified by:
format in interface Locator<T extends ExtendedLocator<T>>
Parameters:
args - the arguments for filling in the placeholders
Returns:
the locator with filled placeholders with given arguments

Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.