Interface SourceTransformer
-
- All Known Implementing Classes:
AttributeTransformer,BeanPropertyMethodNameTransformer,CopyAttributeTransformer,GetterSetterNameTransformer,LoadAdditionalSourceTransformer,LoadAllSourceFilesTransformer,SourceElementToModelTransformer,SourceTargetAttributeTransformer
public interface SourceTransformerTransforms one source tree into another source tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objecttransform(Object modelRoot, ControllerState controllerState)Transforms one source root into another source root.
-
-
-
Method Detail
-
transform
Object transform(Object modelRoot, ControllerState controllerState) throws SourceTransformerException
Transforms one source root into another source root. It is allowed to modify the toTransformRoot tree and return the same tree.- Parameters:
modelRoot- the root of the model to transform, not null.controllerState- the state of the controller, not null.- Returns:
- the transformed source root, not null.
- Throws:
SourceTransformerException- if the source cannot be transformed.
-
-