org.fluentlenium.core.filter
Class FilterPredicate

java.lang.Object
  extended by org.fluentlenium.core.filter.FilterPredicate
All Implemented Interfaces:
com.google.common.base.Predicate<FluentWebElement>

public class FilterPredicate
extends Object
implements com.google.common.base.Predicate<FluentWebElement>

Filter a FluentWebElement collection to return only the elements with the same text


Constructor Summary
FilterPredicate(Filter text)
           
 
Method Summary
 boolean apply(FluentWebElement webElementCustom)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Predicate
equals
 

Constructor Detail

FilterPredicate

public FilterPredicate(Filter text)
Method Detail

apply

public boolean apply(FluentWebElement webElementCustom)
Specified by:
apply in interface com.google.common.base.Predicate<FluentWebElement>


Copyright © 2012 AConsulting. All Rights Reserved.