public class SessionTag
extends org.apache.commons.jelly.TagSupport
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
_label |
protected Session |
_session |
protected java.lang.String |
_sessionId |
| Constructor and Description |
|---|
SessionTag() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput xmlOutput) |
protected Session |
findSession(java.lang.String sessionId) |
Session |
getSession() |
void |
setLabel(java.lang.String label)
Set the label for this session
|
void |
setSessionId(java.lang.String sessionId)
Optionally sets the session id.
|
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBodyprotected java.lang.String _sessionId
protected java.lang.String _label
protected Session _session
public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
throws org.apache.commons.jelly.JellyTagException
xmlOutput - a place to write outputorg.apache.commons.jelly.JellyTagException - if the tag body could not be invokedpublic Session getSession()
protected Session findSession(java.lang.String sessionId)
public void setSessionId(java.lang.String sessionId)
sessionId - arbitrary session id, specified by the user in
the Latka scriptpublic void setLabel(java.lang.String label)
label - session labelCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.