|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.kohsuke.stapler.jelly.FindAncestorTag
@NoContent public class FindAncestorTag
Finds the nearest tag (in the call stack) that has the given tag name, and sets that as a variable.
Field Summary |
---|
Fields inherited from class org.apache.commons.jelly.TagSupport |
---|
body, context, parent |
Constructor Summary | |
---|---|
FindAncestorTag()
|
Method Summary | |
---|---|
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
protected javax.servlet.http.HttpServletRequest |
getRequest()
|
protected javax.servlet.http.HttpServletResponse |
getResponse()
|
protected javax.servlet.ServletContext |
getServletContext()
|
void |
setNamespaceContext(java.util.Map prefixToUriMap)
|
void |
setTag(java.lang.String tag)
QName of the tag to look for. |
void |
setVar(java.lang.String var)
Variable name to set the discovered Tag object. |
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 |
Methods inherited from interface org.apache.commons.jelly.Tag |
---|
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent |
Constructor Detail |
---|
public FindAncestorTag()
Method Detail |
---|
public void setVar(java.lang.String var)
Tag
object.
public void setTag(java.lang.String tag)
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
doTag
in interface org.apache.commons.jelly.Tag
org.apache.commons.jelly.JellyTagException
public void setNamespaceContext(java.util.Map prefixToUriMap)
setNamespaceContext
in interface org.apache.commons.jelly.NamespaceAwareTag
protected javax.servlet.http.HttpServletRequest getRequest()
protected javax.servlet.http.HttpServletResponse getResponse()
protected javax.servlet.ServletContext getServletContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |