GetPropertyTag Class
- public class GetPropertyTag
extends TagSupport
-
Hierarchy
-
Object
TagSupport
GetPropertyTag
-
All Implemented Interfaces
-
IterationTag, Serializable, Tag
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getterArgument
public Object getterArgument
- The optional argument used for certain getters
id
public String id
- The name of the page context attribute to
store the property
object
public Object object
- The object from which the property will be retrieved
propertyName
public String propertyName
- The name of the property to return a value for
returnType
public String returnType
- The return type of the retrieved property
GetPropertyTag
public GetPropertyTag()
doStartTag() Method
public int doStartTag()
throws JspException
Called when the tag starts.
-
Overrides
-
TagSupport.doStartTag()
Exceptions
-
JspException
getGetterArgument() Method
public Object getGetterArgument()
Get the value of getterArgument.
Returns
- Value of getterArgument.
getId() Method
public String getId()
Get the value of id.
-
Overrides
-
TagSupport.getId()
Returns
- Value of id.
getObject() Method
public Object getObject()
Get the value of object.
Returns
- Value of object.
getPropertyName() Method
public String getPropertyName()
Get the value of propertyName.
Returns
- Value of propertyName.
getReturnType() Method
public String getReturnType()
Get the value of returnType.
Returns
- Value of returnType.
release() Method
public void release()
Release.
-
Overrides
-
TagSupport.release()
setGetterArgument(Object) Method
public void setGetterArgument(Object newGetterArgument)
Set the value of getterArgument.
Parameters
-
newGetterArgument
- Value to assign to getterArgument.
setId(String) Method
public void setId(String newId)
Set the value of id.
-
Overrides
-
TagSupport.setId(String)
Parameters
-
newId
- Value to assign to id.
setObject(Object) Method
public void setObject(Object o)
Set the value of object.
Parameters
-
o
- Object to assign to object.
setPropertyName(String) Method
public void setPropertyName(String name)
Set the value of propertyName.
Parameters
-
name
- Value to assign to propertyName.
setReturnType(String) Method
public void setReturnType(String newReturnType)
Set the value of returnType.
Parameters
-
newReturnType
- Value to assign to returnType.