org.apache.tapestry.enhance.javassist
Class CreateAutoParameterEnhancer
java.lang.Object
org.apache.tapestry.enhance.javassist.CreateAutoParameterEnhancer
- All Implemented Interfaces:
- IEnhancer
public class CreateAutoParameterEnhancer
- extends Object
- implements IEnhancer
Creates a synthetic property for a
Direction.AUTO
parameter.
- Since:
- 3.0
- Version:
- $Id: CreateAutoParameterEnhancer.java 243878 2004-04-06 18:18:57Z hlship $
- Author:
- Mindbridge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETER_ACCESSOR_TEMPLATE
protected static final String PARAMETER_ACCESSOR_TEMPLATE
- The code template for the parameter accessor method.
Legend:
{0} = readBindingMethodName
{1} = binding value accessor
{2} = cast (if needed)
- See Also:
- Constant Field Values
PARAMETER_MUTATOR_TEMPLATE
protected static final String PARAMETER_MUTATOR_TEMPLATE
- The code template for the parameter mutator method.
Legend:
{0} = readBindingMethodName
{1} = binding value mutator
{2} = value cast
- See Also:
- Constant Field Values
CreateAutoParameterEnhancer
public CreateAutoParameterEnhancer(EnhancedClass enhancedClass,
String propertyName,
String parameterName,
javassist.CtClass type,
String readMethodName)
performEnhancement
public void performEnhancement(IEnhancedClass enhancedClass)
- Specified by:
performEnhancement
in interface IEnhancer