com.hammurapi.convert

## Interface AtomicConverter<S,T>

- All Known Implementing Classes:
    AtomicConverterBase, ReflectionConverter

      public interface AtomicConverter<S,T>

  Part of composite converters which converts one type to another.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `convert(S source, Converter master, Context context, ClassLoader classLoader)` Converts object to target type.
    `Class<S>` | `getSourceType()`
    `Class<? extends T>` | `getTargetType()`

- - ### Method Detail

    - #### getSourceType

          Class<S> getSourceType()

      Returns:
        Type which converter converts from.

    - #### getTargetType

          Class<? extends T> getTargetType()

      Returns:
        Type which converter converts to.

    - #### convert

          T convert(S source,
                  Converter master,
                  Context context,
                  ClassLoader classLoader)

      Converts object to target type.
      Parameters:
        `source` - Source object.
        `master` - Master converter to delegate conversion of object parts.
      Returns:
        Converted object.