org.fluentlenium.core.filter.matcher
Class StartsWithMatcher

java.lang.Object
  extended by org.fluentlenium.core.filter.matcher.Matcher
      extended by org.fluentlenium.core.filter.matcher.StartsWithMatcher

public class StartsWithMatcher
extends Matcher


Constructor Summary
StartsWithMatcher(Pattern value)
          Constructor using a pattern as a value
StartsWithMatcher(String value)
          Constructor using a string as a value
 
Method Summary
 MatcherType getMatcherType()
          Return the matcher type
 boolean isSatisfiedBy(String o)
          Check if the matcher is matched given the value
 
Methods inherited from class org.fluentlenium.core.filter.matcher.Matcher
getMatcherSymbol, getPattern, getValue, isPreFilter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartsWithMatcher

public StartsWithMatcher(String value)
Constructor using a string as a value

Parameters:
value -

StartsWithMatcher

public StartsWithMatcher(Pattern value)
Constructor using a pattern as a value

Parameters:
value -
Method Detail

getMatcherType

public MatcherType getMatcherType()
Description copied from class: Matcher
Return the matcher type

Specified by:
getMatcherType in class Matcher
Returns:

isSatisfiedBy

public boolean isSatisfiedBy(String o)
Description copied from class: Matcher
Check if the matcher is matched given the value

Specified by:
isSatisfiedBy in class Matcher
Returns:


Copyright © 2012 AConsulting. All Rights Reserved.