freemarker.template.expression
Interface Binary
- All Superinterfaces:
- Expression, Operator
- All Known Implementing Classes:
- AbstractBinary, And, Divide, Equals, GreaterThan, GreaterThanOrEquals, LessThan, LessThanOrEquals, Minus, Modulo, Multiply, NotEquals, Or, Plus
public interface Binary
- extends Operator
An interface for binary operators.
- Version:
- $Id: Binary.java,v 1.1.1.1 2004/10/16 14:55:04 run2000 Exp $
|
Method Summary |
void |
setLeft(Expression left)
Sets the left-hand side of the expression to be evaluated. |
void |
setRight(Expression right)
Sets the right-hand side of the expression to be evaluated. |
setLeft
void setLeft(Expression left)
- Sets the left-hand side of the expression to be evaluated.
- Parameters:
left - the Expression to be evaluated on the left-hand side
- Throws:
java.lang.NullPointerException - the expression is null
java.lang.IllegalArgumentException - the expression doesn't match the expected
type or other criteria
setRight
void setRight(Expression right)
- Sets the right-hand side of the expression to be evaluated.
- Parameters:
right - the Expression to be evaluated on the right-hand side
- Throws:
java.lang.NullPointerException - the expression is null
java.lang.IllegalArgumentException - the expression doesn't match the expected
type or other criteria