Interface ContentTypeConverter<S,​T>

    • Method Detail

      • expectedSourceType

        Class<S> expectedSourceType()
        The expected type of input data.
        Returns:
        the expected data format in IntermediateRepresentation
      • targetType

        Class<T> targetType()
        The returned type of IntermediateRepresentation
        Returns:
        the output data format in IntermediateRepresentation
      • convert

        T convert​(S original)
        Converts the given object into another. Typically, these values are contained by a SerializedObject instance.
        Parameters:
        original - the value to convert
        Returns:
        the converted value