|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.latka.jelly.SessionTag
public class SessionTag
| Field Summary | |
|---|---|
protected String |
_label
|
protected Session |
_session
|
protected String |
_sessionId
|
| Fields inherited from class org.apache.commons.jelly.TagSupport |
|---|
body, context, hasTrimmed, parent, shouldTrim |
| Constructor Summary | |
|---|---|
SessionTag()
|
|
| Method Summary | |
|---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
|
protected Session |
findSession(String sessionId)
|
Session |
getSession()
|
void |
setLabel(String label)
Set the label for this session |
void |
setSessionId(String sessionId)
Optionally sets the session id. |
| Methods inherited from class org.apache.commons.jelly.TagSupport |
|---|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String _sessionId
protected String _label
protected Session _session
| Constructor Detail |
|---|
public SessionTag()
| Method Detail |
|---|
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
throws org.apache.commons.jelly.JellyTagException
xmlOutput - a place to write output
org.apache.commons.jelly.JellyTagException - if the tag body could not be invokedpublic Session getSession()
protected Session findSession(String sessionId)
public void setSessionId(String sessionId)
sessionId - arbitrary session id, specified by the user in
the Latka scriptpublic void setLabel(String label)
label - session label
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||