public class GetPropertyTag extends TagSupport
EVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
GetPropertyTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag()
Default processing of the end tag returning EVAL_PAGE.
|
Object |
getDefaultValue()
Gets the default value to return if no value exists for the key.
|
String |
getKey()
Gets key to retrieve the value from from the ValueMap.
|
ValueMap |
getProperties()
Gets the ValueMap from which to retrieve the value.
|
String |
getReturnClass()
Gets the name of class into which to coerce the returned value.
|
String |
getVar()
Gets the variable name to which to save the value
|
void |
setDefaultValue(Object defaultValue)
Sets the default value to return if no value exists for the key.
|
void |
setKey(String key)
Sets the key to retrieve the value from from the ValueMap.
|
void |
setProperties(ValueMap properties)
Sets the ValueMap from which to retrieve the value.
|
void |
setReturnClass(String returnClass)
Sets the name of class into which to coerce the returned value.
|
void |
setVar(String var)
Sets the variable name to which to save the value.
|
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValuepublic int doEndTag()
TagSupportdoEndTag in interface TagdoEndTag in class TagSupportTag.doEndTag()public Object getDefaultValue()
public String getKey()
public ValueMap getProperties()
public String getReturnClass()
public String getVar()
public void setDefaultValue(Object defaultValue)
defaultValue - the default valuepublic void setKey(String key)
key - the keypublic void setProperties(ValueMap properties)
properties - the ValueMap of propertiespublic void setReturnClass(String returnClass)
returnClass - the class namepublic void setVar(String var)
var - the variable nameCopyright © 2010 - 2020 Adobe. All Rights Reserved