org.apache.tapestry.bean
Class ExpressionBeanInitializer

java.lang.Object
  extended by org.apache.tapestry.spec.BaseLocatable
      extended by org.apache.tapestry.bean.AbstractBeanInitializer
          extended by org.apache.tapestry.bean.ExpressionBeanInitializer
All Implemented Interfaces:
IBeanInitializer, ILocatable, ILocationHolder

public class ExpressionBeanInitializer
extends AbstractBeanInitializer

Initializes a helper bean property from an OGNL expression (relative to the bean's IComponent).

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

Field Summary
protected  String _expression
           
 
Fields inherited from class org.apache.tapestry.bean.AbstractBeanInitializer
_propertyName
 
Constructor Summary
ExpressionBeanInitializer()
           
 
Method Summary
 String getExpression()
           
 void setBeanProperty(IBeanProvider provider, Object bean)
          Invoked by the IBeanProvider to initialize a property of the bean.
 void setExpression(String expression)
           
 
Methods inherited from class org.apache.tapestry.bean.AbstractBeanInitializer
getPropertyName, setBeanProperty, setPropertyName
 
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.ILocationHolder
setLocation
 
Methods inherited from interface org.apache.tapestry.ILocatable
getLocation
 

Field Detail

_expression

protected String _expression
Constructor Detail

ExpressionBeanInitializer

public ExpressionBeanInitializer()
Method Detail

setBeanProperty

public void setBeanProperty(IBeanProvider provider,
                            Object bean)
Description copied from interface: IBeanInitializer
Invoked by the IBeanProvider to initialize a property of the bean.


getExpression

public String getExpression()
Since:
3.0

setExpression

public void setExpression(String expression)
Since:
3.0