org.apache.tapestry5.internal.transform
Class MixinWorker
java.lang.Object
org.apache.tapestry5.internal.transform.MixinWorker
- All Implemented Interfaces:
- ComponentClassTransformWorker2
public class MixinWorker
- extends Object
- implements ComponentClassTransformWorker2
Supports the Mixin
annotation, which allows a mixin to
be part of the
implementation of a component. The annotation is applied to a field, which will become read-only,
and contain a
reference to the mixin instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MixinWorker
public MixinWorker(ComponentClassResolver resolver)
transform
public void transform(PlasticClass plasticClass,
TransformationSupport support,
MutableComponentModel model)
- Description copied from interface:
ComponentClassTransformWorker2
- Invoked to perform part of the transformation of the
PlasticClass
.
- Specified by:
transform
in interface ComponentClassTransformWorker2
- Parameters:
plasticClass
- component class being transformedsupport
- additional utilities needed during the transformationmodel
- the model for the component being transformed
Copyright © 2003-2012 The Apache Software Foundation.