|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.latka.jelly.JellyUtils
public class JellyUtils
Field Summary | |
---|---|
protected static JellyUtils |
_utils
|
protected static String |
EVENT_INFO_VAR
|
protected static String |
EVENT_LISTENER_VAR
|
Constructor Summary | |
---|---|
JellyUtils()
Creates a new instance of SuiteTag |
Method Summary | |
---|---|
Request |
findParentRequest(org.apache.commons.jelly.Tag tag)
Given a tag, find a parent RequestTag and return its Request object. |
static JellyUtils |
getInstance()
|
LatkaEventInfo |
getLatkaEventInfo(org.apache.commons.jelly.JellyContext context)
Return the LatkaEventInfo for the context, or null if none has been set |
LatkaEventListener |
getLatkaEventListener(org.apache.commons.jelly.JellyContext context)
Return the LatkaEventListener for the context, or null if none has been set |
void |
removeLatkaEventInfo(org.apache.commons.jelly.JellyContext context)
Remove a LatkaEventInfo object. |
void |
setLatkaEventInfo(org.apache.commons.jelly.JellyContext context,
LatkaEventInfo info)
Provide a LatkaEventInfo object. |
void |
setLatkaEventListener(org.apache.commons.jelly.JellyContext context,
LatkaEventListener listener)
Provide a LatkaEventListener object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String EVENT_INFO_VAR
protected static final String EVENT_LISTENER_VAR
protected static JellyUtils _utils
Constructor Detail |
---|
public JellyUtils()
Method Detail |
---|
public static JellyUtils getInstance()
public LatkaEventInfo getLatkaEventInfo(org.apache.commons.jelly.JellyContext context)
context
- Context for the current Jelly script
public void setLatkaEventInfo(org.apache.commons.jelly.JellyContext context, LatkaEventInfo info)
context
- listener
- LatkaEventInfo objectpublic void removeLatkaEventInfo(org.apache.commons.jelly.JellyContext context)
context
- public LatkaEventListener getLatkaEventListener(org.apache.commons.jelly.JellyContext context)
context
- Context for the current Jelly script
public void setLatkaEventListener(org.apache.commons.jelly.JellyContext context, LatkaEventListener listener)
context
- listener
- LatkaEventListener objectpublic Request findParentRequest(org.apache.commons.jelly.Tag tag)
tag
- Child tag of RequestTag
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |