|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface for all state objects stored in sessions.
A session attribute represents a name-value pair. The name is fixed whereas the value may be changable, depending on the implementation.
Method Summary | |
javax.xml.namespace.QName |
getName() Gets the name of the session attribute. |
java.lang.Object |
getValue() Gets the value of the session attribute. |
boolean |
isChangable() Returns true if the setValue method is implemented, or otherwise false . |
void |
setValue(java.lang.Object value) Sets the value of the attribute. |
Method Detail |
public javax.xml.namespace.QName getName()
null
public java.lang.Object getValue()
null
.public void setValue(java.lang.Object value)
This method is optional. If it is not supported then an UnsupportedOperationException
should be raised and the isChangable()
method should return false
.
value
- The session attribute value which may be null
.public boolean isChangable()
true
if the setValue
method is implemented, or otherwise false
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |