Interface Transformer<T>

Type Parameters:
T - type of the target object that will be created with the transformer.
All Known Implementing Classes:
Base64Transformer, BasicTransformer, JsonTransformer

public interface Transformer<T>
Interface for parameter transformers. Implement it to create a new Transformer.
  • Field Details

  • Method Details

    • applyTransformation

      T applyTransformation(String value, Class<T> targetClass) throws TransformationException
      Apply a transformation on the input value (String)
      Parameters:
      value - the parameter value to transform
      targetClass - class of the target object
      Returns:
      a transformed parameter
      Throws:
      TransformationException - when a transformation error occurs