public class GetParentTag extends javax.servlet.jsp.tagext.TagSupport
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
GetParentTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
java.lang.String |
getLevel()
Get the level of the parent resource to retrieve.
|
Resource |
getResource()
Gets the resource.
|
java.lang.String |
getVar()
Gets the variable name to which to save the list of children.
|
void |
setLevel(java.lang.String level)
Set the level of the parent resource to retrieve.
|
void |
setResource(Resource resource)
Sets the resource.
|
void |
setVar(java.lang.String var)
Sets the variable name to which to save the parent resource.
|
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public int doEndTag()
doEndTag
in interface javax.servlet.jsp.tagext.Tag
doEndTag
in class javax.servlet.jsp.tagext.TagSupport
public Resource getResource()
public java.lang.String getLevel()
public java.lang.String getVar()
public void setResource(Resource resource)
resource
- the new resourcepublic void setLevel(java.lang.String level)
level
- the levelpublic void setVar(java.lang.String var)
var
- the variable nameCopyright © 2010 - 2020 Adobe. All Rights Reserved