Interface SourceTransformer

    • Method Summary

      Modifier and Type Method Description
      Object transform​(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.