freemarker.template.expression
Interface Binary
- All Superinterfaces:
- Expression, ExpressionElement, Operator
- All Known Implementing Classes:
- AbstractBinary
- public interface Binary
- extends Operator
An interface for binary operators.
- Version:
- $Id: Binary.java,v 1.10 2003/11/12 12:11:24 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
public 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:
NullPointerException
- the expression is nulljava.lang.IllegalArgumentException
- the expression doesn't match the expected
type or other criteria
setRight
public 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:
NullPointerException
- the expression is nulljava.lang.IllegalArgumentException
- the expression doesn't match the expected
type or other criteria