|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The ValueResolver defines the data binding to an object
that is not resolved by JSF (e.g. a data manager).
It encapsulates the access to a value referenced by a keyword.
| Method Summary | |
boolean |
canModifyValue(java.lang.String keyword)
|
java.lang.Object |
getValue(java.lang.String keyword)
Resolves the keyword to its referenced value. |
java.lang.Class |
getValueType(java.lang.String keyword)
|
boolean |
hasValue(java.lang.String keyword)
Checks, if this ValueResolver can resolve the given keyword. |
void |
setValue(java.lang.String keyword,
java.lang.Object value)
Sets a new value for the referenced keyword |
| Method Detail |
public boolean hasValue(java.lang.String keyword)
ValueResolver can resolve the given keyword.
keyword - the keyword to be resolved
public java.lang.Class getValueType(java.lang.String keyword)
keyword - the keyword to be resolve
java.lang.RuntimeException - if the keyword can not be resolved by this.
Use #canResolve(String) to check.public java.lang.Object getValue(java.lang.String keyword)
keyword - the keyword to be resolve
java.lang.RuntimeException - if the keyword can not be resolved by this.
Use #canResolve(String) to check.public boolean canModifyValue(java.lang.String keyword)
keyword - the keyword to be resolve
public void setValue(java.lang.String keyword,
java.lang.Object value)
keyword - the keyword to be resolvevalue - the new value
java.lang.RuntimeException - if the keyword can not be resolved by this
or the value can not be modified.
Use #canResolve(String) or canModifyValue(String) to check.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||