org.apache.tapestry5.internal.transform
Class CCTWToCCTW2Coercion

java.lang.Object
  extended by org.apache.tapestry5.internal.transform.CCTWToCCTW2Coercion
All Implemented Interfaces:
Coercion<ComponentClassTransformWorker,ComponentClassTransformWorker2>

public class CCTWToCCTW2Coercion
extends Object
implements Coercion<ComponentClassTransformWorker,ComponentClassTransformWorker2>

A Coercion for converting the deprecated ComponentClassTransformWorker to the new ComponentClassTransformWorker2.


Field Summary
static CoercionTuple<ComponentClassTransformWorker,ComponentClassTransformWorker2> TUPLE
           
 
Constructor Summary
CCTWToCCTW2Coercion()
           
 
Method Summary
 ComponentClassTransformWorker2 coerce(ComponentClassTransformWorker oldStyleWorker)
          Converts an input value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TUPLE

public static final CoercionTuple<ComponentClassTransformWorker,ComponentClassTransformWorker2> TUPLE
Constructor Detail

CCTWToCCTW2Coercion

public CCTWToCCTW2Coercion()
Method Detail

coerce

public ComponentClassTransformWorker2 coerce(ComponentClassTransformWorker oldStyleWorker)
Description copied from interface: Coercion
Converts an input value.

Specified by:
coerce in interface Coercion<ComponentClassTransformWorker,ComponentClassTransformWorker2>
Parameters:
oldStyleWorker - the input value


Copyright © 2003-2012 The Apache Software Foundation.