public class GetPropertyTag
extends TagSupport
Constructor and Description |
---|
GetPropertyTag() |
Modifier and Type | Method and Description |
---|---|
int |
doEndTag() |
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.
|
public int 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 name"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"