|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataObject
DataObject
This is an interface that any object can implement to expose themselves to JSF EL.
Method Summary | |
---|---|
java.lang.Class<?> |
getType(java.lang.Object key)
Return the type of a property. |
java.lang.Object |
getValue(java.lang.Object key)
Returns the value to which this data object maps the specified key. |
boolean |
isReadOnly(java.lang.Object key)
Return true if the value associated with the specified key is known to be immutable; otherwise, return false. |
void |
setValue(java.lang.Object key,
java.lang.Object value)
Associates the specified value with the specified key in this data object (optional operation). |
Method Detail |
---|
java.lang.Object getValue(java.lang.Object key)
key
- key whose associated value is to be returned.
java.lang.ClassCastException
- if the key is of an inappropriate type for
this data object (optional).
java.lang.NullPointerException
- key is null and this data object does not
not permit null keys (optional).void setValue(java.lang.Object key, java.lang.Object value)
key
- key with which the specified value is to be associated.value
- value to be associated with the specified key.
java.lang.UnsupportedOperationException
- if the put operation is
not supported by this data object.
java.lang.ClassCastException
- if the class of the specified key or value
prevents it from being stored in this data object.
java.lang.IllegalArgumentException
- if some aspect of this key or value
prevents it from being stored in this data object.
java.lang.NullPointerException
- this data object does not permit null
keys or values, and the specified key or value is
null.java.lang.Class<?> getType(java.lang.Object key)
key
- key with which the specified value is to be associated.
boolean isReadOnly(java.lang.Object key)
key
- key of the specified value to be tested.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |