Package de.spraener.nxtgen.cartridges
Class TransformationWrapper
java.lang.Object
de.spraener.nxtgen.cartridges.TransformationWrapper
- All Implemented Interfaces:
Transformation
-
Constructor Summary
ConstructorsConstructorDescriptionTransformationWrapper(Class<?> t) TransformationWrapper(Class<?> t, Method txMethod) -
Method Summary
Modifier and TypeMethodDescriptionvoiddoTransformation(ModelElement element) Do the transformation on the given ModelElement.
-
Constructor Details
-
TransformationWrapper
-
TransformationWrapper
-
-
Method Details
-
doTransformation
Description copied from interface:TransformationDo the transformation on the given ModelElement. If you need access to the root of the model you can use element.getModel()- Specified by:
doTransformationin interfaceTransformation- Parameters:
element- the ModelELement to (envetually) the transformation on.- See Also:
-