Interface Inflector<DATA,RESULT>

Type Parameters:
DATA - transformable data type.
RESULT - type of result produced by a successful inflector data transformation.
All Known Subinterfaces:
Connector
All Known Implementing Classes:
JavaNetHttpConnector, ResourceMethodInvoker, WadlModelProcessor.OptionsHandler

public interface Inflector<DATA,RESULT>
A generic interface for transforming data into a result.
Author:
Marek Potociar
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(DATA data)
    Transform data of a given type into a result of the different type.
  • Method Details

    • apply

      RESULT apply(DATA data)
      Transform data of a given type into a result of the different type.
      Parameters:
      data - data to be transformed into a result.
      Returns:
      data transformation result. Return value must not be null.