org.uispec4j.finder
Class StringMatcher
java.lang.Object
org.uispec4j.finder.StringMatcher
public abstract class StringMatcher
- extends java.lang.Object
String matching policy used withing the component searching mechanism.
Three ready-to-use strategies are provided (identity/substring/regexp),
but you can provide your own by implementing this class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringMatcher
public StringMatcher()
matches
public abstract boolean matches(java.lang.String toCompare)
identity
public static StringMatcher identity(java.lang.String reference)
substring
public static StringMatcher substring(java.lang.String reference)
regexp
public static StringMatcher regexp(java.lang.String reference)
Copyright © 2004-2010. All Rights Reserved.