public class JellyUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static JellyUtils |
_utils |
protected static java.lang.String |
EVENT_INFO_VAR |
protected static java.lang.String |
EVENT_LISTENER_VAR |
| Constructor and Description |
|---|
JellyUtils()
Creates a new instance of SuiteTag
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected static final java.lang.String EVENT_INFO_VAR
protected static final java.lang.String EVENT_LISTENER_VAR
protected static JellyUtils _utils
public static JellyUtils getInstance()
public LatkaEventInfo getLatkaEventInfo(org.apache.commons.jelly.JellyContext context)
context - Context for the current Jelly scriptpublic 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 scriptpublic 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 RequestTagCopyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.