org.apache.tapestry5.internal.transform
Class PropertyWorker

java.lang.Object
  extended by org.apache.tapestry5.internal.transform.PropertyWorker
All Implemented Interfaces:
ComponentClassTransformWorker

public class PropertyWorker
extends Object
implements ComponentClassTransformWorker

Provides the getter and setter methods. The methods are added as "existing", meaning that field access to them will be transformed as necessary by other annotations. This worker needs to be scheduled before any worker that might delete a field.

See Also:
Property

Constructor Summary
PropertyWorker()
           
 
Method Summary
 void transform(ClassTransformation transformation, MutableComponentModel model)
          Invoked to perform a transformation on an as-yet unloaded component class, represented by the ClassTransformation instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyWorker

public PropertyWorker()
Method Detail

transform

public void transform(ClassTransformation transformation,
                      MutableComponentModel model)
Description copied from interface: ComponentClassTransformWorker
Invoked to perform a transformation on an as-yet unloaded component class, represented by the ClassTransformation instance. In some cases, the worker may make changes to the component model -- for example, a worker that deals with parameters may update the model to reflect those parameters.

Specified by:
transform in interface ComponentClassTransformWorker


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.