jrun.jsp.tags
Class SetProperty
jrun.jsp.tags.SetProperty
- public class SetProperty
SetProperty
public SetProperty()
setName
public void setName(java.lang.String name)
setValue
public void setValue(java.lang.Object value)
setValue
public void setValue(int value)
setValue
public void setValue(boolean value)
setValue
public void setValue(char value)
setValue
public void setValue(short value)
setValue
public void setValue(long value)
setValue
public void setValue(float value)
setValue
public void setValue(double value)
setValue
public void setValue(byte value)
setProperty
public void setProperty(java.lang.String property)
setParam
public void setParam(java.lang.String param)
doStartTag
public int doStartTag()
throws javax.servlet.jsp.JspException
setBeanProperty
public void setBeanProperty(java.lang.String property,
java.lang.String str)
throws javax.servlet.jsp.JspException
setProperty
public void setProperty(java.lang.Object bean,
java.lang.String property,
java.lang.Object value)
throws javax.servlet.jsp.JspException,
java.lang.IllegalArgumentException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.beans.IntrospectionException
- Set a simple bean property
- Parameters:
bean - The bean to set the property onproperty - The name of the propertyvalue - Value to set the property to- Throws:
java.beans.IntrospectionException - If an introspection error occurs trying
to get property descriptorSetProperty.NoSuchPropertyException - If the property doesn't exist on this beanjava.lang.NoSuchMethodException - If the property set method doesn't exist on this beanjava.lang.IllegalArgumentException - If the args don't match up or indexed property with no
non-indexed accessjava.lang.IllegalAccessException - If the write method is inaccessiblejava.lang.reflect.InvocationTargetException - If an exception is thrown calling the set
method
containsSettableProperty
public boolean containsSettableProperty(java.lang.Class clazz,
java.lang.String property)
throws java.beans.IntrospectionException
- Find out if a bean has a settable property
- Parameters:
clazz - The bean type to set the property onproperty - The name of the property- Throws:
java.beans.IntrospectionException - If an introspection error occurs trying
to get property descriptorSetProperty.NoSuchPropertyException - If the property doesn't exist on this bean
release
public void release()
Copyright � 2002 Macromedia Corporation. All Rights Reserved.