org.apache.commons.jxpath.ri.compiler
Class CoreOperationLessThan
java.lang.Object
org.apache.commons.jxpath.ri.compiler.Expression
org.apache.commons.jxpath.ri.compiler.Operation
org.apache.commons.jxpath.ri.compiler.CoreOperation
org.apache.commons.jxpath.ri.compiler.CoreOperationRelationalExpression
org.apache.commons.jxpath.ri.compiler.CoreOperationLessThan
public class CoreOperationLessThan
- extends CoreOperationRelationalExpression
Implementation of Expression
for the operation "<".
- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
- Author:
- Dmitri Plotnikov
Fields inherited from class org.apache.commons.jxpath.ri.compiler.Operation |
args |
Method Summary |
protected boolean |
evaluateCompare(int compare)
Template method for subclasses to evaluate the result of a comparison. |
String |
getSymbol()
Returns the XPath symbol for this operation, e.g. |
CoreOperationLessThan
public CoreOperationLessThan(Expression arg1,
Expression arg2)
- Create a new CoreOperationLessThan.
- Parameters:
arg1
- left Expressionarg2
- right Expression
evaluateCompare
protected boolean evaluateCompare(int compare)
- Description copied from class:
CoreOperationRelationalExpression
- Template method for subclasses to evaluate the result of a comparison.
- Specified by:
evaluateCompare
in class CoreOperationRelationalExpression
- Parameters:
compare
- result of comparison to evaluate
- Returns:
- ultimate operation success/failure
getSymbol
public String getSymbol()
- Description copied from class:
CoreOperation
- Returns the XPath symbol for this operation, e.g. "+", "div", etc.
- Specified by:
getSymbol
in class CoreOperation
- Returns:
- String symbol
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.