freemarker.template.expression
Interface Unary
- All Superinterfaces:
- Expression, Operator
- All Known Implementing Classes:
- Dot, DynamicKeyName, Lambda, MethodCall, Not
public interface Unary
- extends Operator
An interface for unary operators.
- Version:
- $Id: Unary.java 1101 2013-04-01 04:17:32Z run2000 $
Nested Class Summary |
static class |
Unary.Association
Indicates the operator association for this unary expression. |
setTarget
void setTarget(Expression target)
- Sets the target for this unary operation.
- Throws:
java.lang.IllegalArgumentException
- the target is of the wrong type
for this operator
java.lang.NullPointerException
- the argument is null
getAssociationType
Unary.Association getAssociationType()
- Determines the operator association of the unary operation.
- Returns:
- Association of
PREFIX
or POSTFIX
.