org.apache.tapestry.bean
Class AbstractBeanInitializer

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.bean.AbstractBeanInitializer
All Implemented Interfaces:
IBeanInitializer, ILocatable, ILocationHolder
Direct Known Subclasses:
ExpressionBeanInitializer, FieldBeanInitializer, MessageBeanInitializer, StaticBeanInitializer

public abstract class AbstractBeanInitializer
extends BaseLocatable
implements IBeanInitializer

Base class for initializing a property of a JavaBean.

Since:
1.0.5
Version:
$Id: AbstractBeanInitializer.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Field Summary
protected  String _propertyName
           
 
Constructor Summary
AbstractBeanInitializer()
           
 
Method Summary
 String getPropertyName()
          Returns the name of the property this initializer will set.
protected  void setBeanProperty(IResourceResolver resolver, Object bean, Object value)
           
 void setPropertyName(String propertyName)
           
 
Methods inherited from class org.apache.tapestry.spec.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.bean.IBeanInitializer
setBeanProperty
 
Methods inherited from interface org.apache.tapestry.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

_propertyName

protected String _propertyName
Constructor Detail

AbstractBeanInitializer

public AbstractBeanInitializer()
Method Detail

getPropertyName

public String getPropertyName()
Description copied from interface: IBeanInitializer
Returns the name of the property this initializer will set.

Specified by:
getPropertyName in interface IBeanInitializer

setPropertyName

public void setPropertyName(String propertyName)
Since:
3.0

setBeanProperty

protected void setBeanProperty(IResourceResolver resolver,
                               Object bean,
                               Object value)