org.ujac.util.exi.type
Class StringType.LikeOperation

java.lang.Object
  extended by org.ujac.util.exi.BaseExpressionOperation
      extended by org.ujac.util.exi.type.StringType.LikeOperation
All Implemented Interfaces:
ExpressionOperation
Enclosing class:
StringType

public class StringType.LikeOperation
extends BaseExpressionOperation

The like compare operation for Strings.


Constructor Summary
StringType.LikeOperation()
           
 
Method Summary
 Object evaluate(ExpressionTuple expr, ExpressionContext ctx)
          Evaluates the given values.
 
Methods inherited from class org.ujac.util.exi.BaseExpressionOperation
getDescription, getExamples
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringType.LikeOperation

public StringType.LikeOperation()
Method Detail

evaluate

public Object evaluate(ExpressionTuple expr,
                       ExpressionContext ctx)
                throws ExpressionException
Evaluates the given values.

Parameters:
expr - The expression tuple to process.
ctx - The expression context.
Returns:
The result of the tuple evaluation.
Throws:
ExpressionException - If the evaluation failed.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.