|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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.String |
getExpressionString()
Returns the original string used to create this expression, unmodified. |
java.lang.Object |
getValue(java.lang.Object context)
Evaluate this expression in the provided context and return the result of evaluation. |
java.lang.Class<?> |
getValueType(java.lang.Object context)
Returns the most general type that can be passed to the Expression.setValue(Object, Object) method for the given
context. |
void |
setValue(java.lang.Object context,
java.lang.Object value)
Set this expression in the provided context 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 expression| Method Detail |
|---|
public java.lang.Object getValue(java.lang.Object context)
throws EvaluationException
Expression
getValue in interface Expressioncontext - the context to evaluate this expression in
EvaluationException - an exception occurred during expression evaluation
public void setValue(java.lang.Object context,
java.lang.Object value)
throws EvaluationException
Expression
setValue in interface Expressioncontext - the context on which the new value should be setvalue - the new value to set
EvaluationException - an exception occurred during expression evaluationpublic java.lang.Class<?> getValueType(java.lang.Object context)
ExpressionExpression.setValue(Object, Object) method for the given
context.
getValueType in interface Expressioncontext - the context to evaluate
null if the type
information cannot be determinedpublic java.lang.String getExpressionString()
Expression
getExpressionString in interface Expressionpublic java.lang.String toString()
toString in class java.lang.Object
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||