|
||||||||||
| 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(Map prefixToUriMap)
|
void |
setTag(String tag)
QName of the tag to look for. |
void |
setVar(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(String var)
Tag object.
public void setTag(String tag)
public void doTag(org.apache.commons.jelly.XMLOutput output)
throws org.apache.commons.jelly.JellyTagException
doTag in interface org.apache.commons.jelly.Tagorg.apache.commons.jelly.JellyTagExceptionpublic void setNamespaceContext(Map prefixToUriMap)
setNamespaceContext in interface org.apache.commons.jelly.NamespaceAwareTagprotected 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 | |||||||||