© 2002 BEA Systems, Inc.


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

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--com.beasys.commerce.ebusiness.catalog.tags.GetPropertyTag

public class GetPropertyTag
extends javax.servlet.jsp.tagext.TagSupport

See Also:
Serialized Form

Field Summary
 java.lang.Object getterArgument
          The optional argument used for certain getters
 java.lang.String id
          The name of the page context attribute to store the property
 java.lang.Object object
          The object from which the property will be retrieved
 java.lang.String propertyName
          The name of the property to return a value for
 java.lang.String returnType
          The return type of the retrieved property
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Constructor Summary
GetPropertyTag()
           
 
Method Summary
 int doStartTag()
          Called when the tag starts.
 java.lang.Object getGetterArgument()
          Get the value of getterArgument.
 java.lang.String getId()
          Get the value of id.
 java.lang.Object getObject()
          Get the value of object.
 java.lang.String getPropertyName()
          Get the value of propertyName.
 java.lang.String getReturnType()
          Get the value of returnType.
 void release()
          Release.
 void setGetterArgument(java.lang.Object newGetterArgument)
          Set the value of getterArgument.
 void setId(java.lang.String newId)
          Set the value of id.
 void setObject(java.lang.Object o)
          Set the value of object.
 void setPropertyName(java.lang.String name)
          Set the value of propertyName.
 void setReturnType(java.lang.String newReturnType)
          Set the value of returnType.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getParent, getValue, getValues, removeValue, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyName

public java.lang.String propertyName
The name of the property to return a value for

object

public java.lang.Object object
The object from which the property will be retrieved

id

public java.lang.String id
The name of the page context attribute to store the property

returnType

public java.lang.String returnType
The return type of the retrieved property

getterArgument

public java.lang.Object getterArgument
The optional argument used for certain getters
Constructor Detail

GetPropertyTag

public GetPropertyTag()
Method Detail

setPropertyName

public void setPropertyName(java.lang.String name)
Set the value of propertyName.

Parameters:
name - Value to assign to propertyName.

getPropertyName

public java.lang.String getPropertyName()
Get the value of propertyName.

Returns:
Value of propertyName.

setObject

public void setObject(java.lang.Object o)
Set the value of object.

Parameters:
o - Object to assign to object.

getObject

public java.lang.Object getObject()
Get the value of object.

Returns:
Value of object.

setId

public void setId(java.lang.String newId)
Set the value of id.

Parameters:
newId - Value to assign to id.
Overrides:
setId in class javax.servlet.jsp.tagext.TagSupport

getId

public java.lang.String getId()
Get the value of id.

Returns:
Value of id.
Overrides:
getId in class javax.servlet.jsp.tagext.TagSupport

setReturnType

public void setReturnType(java.lang.String newReturnType)
Set the value of returnType.

Parameters:
newReturnType - Value to assign to returnType.

getReturnType

public java.lang.String getReturnType()
Get the value of returnType.

Returns:
Value of returnType.

setGetterArgument

public void setGetterArgument(java.lang.Object newGetterArgument)
Set the value of getterArgument.

Parameters:
newGetterArgument - Value to assign to getterArgument.

getGetterArgument

public java.lang.Object getGetterArgument()
Get the value of getterArgument.

Returns:
Value of getterArgument.

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Called when the tag starts.

Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport

release

public void release()
Release.

Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved