org.openqa.selenium.internal.selenesedriver
Class AbstractElementFinder<T>

java.lang.Object
  extended by org.openqa.selenium.internal.selenesedriver.AbstractElementFinder<T>
All Implemented Interfaces:
SeleneseFunction<T>
Direct Known Subclasses:
FindElement, FindElements

public abstract class AbstractElementFinder<T>
extends java.lang.Object
implements SeleneseFunction<T>


Nested Class Summary
 class AbstractElementFinder.ImplicitWait
           
 
Constructor Summary
AbstractElementFinder()
           
 
Method Summary
 T apply(Selenium selenium, java.util.Map<java.lang.String,?> args)
           
protected  java.lang.String convertToStrategyName(java.lang.String using)
           
protected abstract  T executeFind(Selenium selenium, java.lang.String how, java.lang.String using, java.lang.String parentLocator)
           
 AbstractElementFinder.ImplicitWait implicitlyWait()
           
protected  java.util.Map<java.lang.String,java.lang.String> newElement(java.lang.String key)
           
protected abstract  T onFailure(java.lang.String how, java.lang.String using)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractElementFinder

public AbstractElementFinder()
Method Detail

executeFind

protected abstract T executeFind(Selenium selenium,
                                 java.lang.String how,
                                 java.lang.String using,
                                 java.lang.String parentLocator)

onFailure

protected abstract T onFailure(java.lang.String how,
                               java.lang.String using)

newElement

protected java.util.Map<java.lang.String,java.lang.String> newElement(java.lang.String key)

apply

public T apply(Selenium selenium,
               java.util.Map<java.lang.String,?> args)
Specified by:
apply in interface SeleneseFunction<T>

implicitlyWait

public AbstractElementFinder.ImplicitWait implicitlyWait()

convertToStrategyName

protected java.lang.String convertToStrategyName(java.lang.String using)


Copyright © 2011. All Rights Reserved.