|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.cocoon.components.language.markup.xsp.XSPSessionHelper
The Session
object helper
Constructor Summary | |
XSPSessionHelper()
|
Method Summary | |
static java.lang.Object |
getSessionAttribute(Session session,
java.lang.String name,
java.lang.Object defaultValue)
Return the given session attribute value or a user-provided default if none was specified. |
static java.util.List |
getSessionAttributeNames(Session session)
Get the session attribute names. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XSPSessionHelper()
Method Detail |
public static java.lang.Object getSessionAttribute(Session session, java.lang.String name, java.lang.Object defaultValue)
session
- The Session objectname
- The parameter namedefaultValue
- Value to substitute in absence of a parameter valuepublic static java.util.List getSessionAttributeNames(Session session)
session
- The Session object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |