Package org.forgerock.openig.el
Class LeftValueExpression<T>
- java.lang.Object
- 
- org.forgerock.openig.el.Expression<T>
- 
- org.forgerock.openig.el.LeftValueExpression<T>
 
 
- 
- Type Parameters:
- T- expected result type
 
 public final class LeftValueExpression<T> extends Expression<T> ALeftValueExpressionis a specializedExpressionto which we can assign a value.
- 
- 
Field Summary- 
Fields inherited from class org.forgerock.openig.el.ExpressionvalueExpression
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidset(Bindings bindings, Object value)Sets the result of an expression to a specified value.static <T> LeftValueExpression<T>valueOf(String expression, Class<T> expectedType)Factory method to create a LeftValueExpression.
 
- 
- 
- 
Method Detail- 
valueOfpublic static <T> LeftValueExpression<T> valueOf(String expression, Class<T> expectedType) throws ExpressionException Factory method to create a LeftValueExpression.- Type Parameters:
- T- expected result type
- Parameters:
- expression- The expression to parse.
- expectedType- The expected result type of the expression.
- Returns:
- An expression based on the given string.
- Throws:
- ExpressionException- if the expression was not syntactically correct or not a left-value expression.
 
 - 
setpublic void set(Bindings bindings, Object value) Sets the result of an expression to a specified value. The expression is treated as an lvalue, the expression resolves to an object whose value will be set. If the expression does not resolve to an object or cannot otherwise be written to (e.g. read-only), then this method will have no effect.- Parameters:
- bindings- the bindings to evaluate the expression within.
- value- the value to set in the result of the expression evaluation.
 
 
- 
 
-