|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.binding.expression.support.CollectionAddingExpression
public class CollectionAddingExpression
A settable expression that adds non-null values to a collection.
Constructor Summary | |
---|---|
CollectionAddingExpression(Expression collectionExpression)
Creates a collection adding property expression. |
Method Summary | |
---|---|
java.lang.Object |
evaluate(java.lang.Object target,
EvaluationContext context)
Evaluate the expression encapsulated by this evaluator against the provided target object and return the result of the evaluation. |
void |
evaluateToSet(java.lang.Object target,
java.lang.Object value,
EvaluationContext context)
Evaluate this expression against the target object to set its value to the value provided. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CollectionAddingExpression(Expression collectionExpression)
collectionExpression
- the collection expressionMethod Detail |
---|
public java.lang.Object evaluate(java.lang.Object target, EvaluationContext context) throws EvaluationException
Expression
evaluate
in interface Expression
target
- the target of the expressioncontext
- the expression evaluation context
EvaluationException
- an exception occured during evaluationpublic void evaluateToSet(java.lang.Object target, java.lang.Object value, EvaluationContext context) throws EvaluationException
SettableExpression
evaluateToSet
in interface SettableExpression
target
- the target objectvalue
- the new value to be setcontext
- the evaluation context
EvaluationException
- an exception occured during evaluationpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |