public class AdaptToTag extends TagSupport
EVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
AdaptToTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
Adaptable |
getAdaptable()
Get the adaptable object to be adapted.
|
String |
getAdaptTo()
Gets the class name to adapt the adaptable to.
|
String |
getVar()
Gets the variable name to save the resulting object to.
|
void |
setAdaptable(Adaptable adaptable)
Sets the adaptable object to be adapted.
|
void |
setAdaptTo(String adaptTo)
Sets the class name to adapt the adaptable to.
|
void |
setVar(String var)
Gets the variable name to save the resulting object to.
|
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValuepublic int doEndTag()
TagSupportdoEndTag in interface TagdoEndTag in class TagSupportTag.doEndTag()public Adaptable getAdaptable()
public String getAdaptTo()
public String getVar()
public void setAdaptable(Adaptable adaptable)
adaptable - the object to adaptpublic void setAdaptTo(String adaptTo)
adaptTo - the class to adapt topublic void setVar(String var)
var - the variable nameCopyright © 2010 - 2020 Adobe. All Rights Reserved