public class GetPropertyTag extends javax.servlet.jsp.tagext.TagSupport
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
GetPropertyTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
java.lang.Object |
getDefaultValue()
Gets the default value to return if no value exists for the key.
|
java.lang.String |
getKey()
Gets key to retrieve the value from from the ValueMap.
|
ValueMap |
getProperties()
Gets the ValueMap from which to retrieve the value.
|
java.lang.String |
getReturnClass()
Gets the name of class into which to coerce the returned value.
|
java.lang.String |
getVar()
Gets the variable name to which to save the value
|
void |
setDefaultValue(java.lang.Object defaultValue)
Sets the default value to return if no value exists for the key.
|
void |
setKey(java.lang.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(java.lang.String returnClass)
Sets the name of class into which to coerce the returned value.
|
void |
setVar(java.lang.String var)
Sets the variable name to which to save the value.
|
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 java.lang.Object getDefaultValue()
public java.lang.String getKey()
public ValueMap getProperties()
public java.lang.String getReturnClass()
public java.lang.String getVar()
public void setDefaultValue(java.lang.Object defaultValue)
defaultValue
- the default valuepublic void setKey(java.lang.String key)
key
- the keypublic void setProperties(ValueMap properties)
properties
- the ValueMap of propertiespublic void setReturnClass(java.lang.String returnClass)
returnClass
- the class namepublic void setVar(java.lang.String var)
var
- the variable nameCopyright © 2010 - 2020 Adobe. All Rights Reserved