org.openqa.selenium.internal
Class BaseFilterFunction

java.lang.Object
  extended by org.openqa.selenium.internal.BaseFilterFunction
All Implemented Interfaces:
FilterFunction
Direct Known Subclasses:
NameFilterFunction, ValueFilterFunction

public abstract class BaseFilterFunction
extends java.lang.Object
implements FilterFunction


Constructor Summary
BaseFilterFunction()
           
 
Method Summary
 java.util.List<WebElement> filterElements(java.util.List<WebElement> allElements, java.lang.String filterValue)
           
protected abstract  boolean shouldAdd(WebElement element, java.lang.String filterValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseFilterFunction

public BaseFilterFunction()
Method Detail

filterElements

public java.util.List<WebElement> filterElements(java.util.List<WebElement> allElements,
                                                 java.lang.String filterValue)
Specified by:
filterElements in interface FilterFunction

shouldAdd

protected abstract boolean shouldAdd(WebElement element,
                                     java.lang.String filterValue)


Copyright © 2009. All Rights Reserved.