net.sourceforge.javamatch.query
Class StringQuery

java.lang.Object
  extended bynet.sourceforge.javamatch.query.MatchQuery
      extended bynet.sourceforge.javamatch.query.StringQuery
Direct Known Subclasses:
Contains, RegexMatches, StringEquals

public abstract class StringQuery
extends MatchQuery

Class StringQuery is the base class of all MatchQueries that operate on string values


Constructor Summary
StringQuery()
           
 
Method Summary
 java.lang.String getValue(java.lang.Object srcObject, java.lang.String memberName)
          Returns the value of the given member, when executed on the given object, as a string
 
Methods inherited from class net.sourceforge.javamatch.query.MatchQuery
getMatchValue, getObjectValue, isTwoPass, prePass
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringQuery

public StringQuery()
Method Detail

getValue

public java.lang.String getValue(java.lang.Object srcObject,
                                 java.lang.String memberName)
                          throws MatchException
Returns the value of the given member, when executed on the given object, as a string

Parameters:
srcObject - the object on which the member is executed
memberName - the member that is executed
Returns:
the value that was returned by executing the member on the source object
Throws:
MatchException

Hosted by SourceForge.net/