public class GetPropertyTag
extends TagSupport
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.
|
public int doEndTag()
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 name"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"