GetPropertyTag Class

com.beasys.commerce.ebusiness.catalog.tags
GetPropertyTag Class

public class GetPropertyTag

    extends TagSupport

Hierarchy
Object
  TagSupport
    GetPropertyTag
All Implemented Interfaces

IterationTag, Serializable, Tag

Field Summary

public Object
getterArgument
The optional argument used for certain getters
public String
id
The name of the page context attribute to store the property
public Object
object
The object from which the property will be retrieved
public String
propertyName
The name of the property to return a value for
public String
returnType
The return type of the retrieved property
   
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

GetPropertyTag()

 

Method Summary

public int
doStartTag()
Called when the tag starts.
public Object
getGetterArgument()
Get the value of getterArgument.
public String
getId()
Get the value of id.
public Object
getObject()
Get the value of object.
public String
getPropertyName()
Get the value of propertyName.
public String
getReturnType()
Get the value of returnType.
public void
release()
Release.
public void
setGetterArgument(Object newGetterArgument)
Set the value of getterArgument.
public void
setId(String newId)
Set the value of id.
public void
setObject(Object o)
Set the value of object.
public void
setPropertyName(String name)
Set the value of propertyName.
public void
setReturnType(String newReturnType)
Set the value of returnType.
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Field Detail

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

 

Constructor Detail

GetPropertyTag

public GetPropertyTag()
 

Method Detail

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.