com.hammurapi.convert

## Interface AtomicDecorator<S>

-     public interface AtomicDecorator<S>

  Part of composite decorators.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `decorate(S source, Context context, Decorator<?,?> master)` Creates decoration.
    `Class<S>` | `getSourceType()`

- - ### Method Detail

    - #### getSourceType

          Class<S> getSourceType()

      Returns:
        Type which converter converts from.

    - #### decorate

          Object decorate(S source,
                        Context context,
                        Decorator<?,?> master)

      Creates decoration.
      Parameters:
        `source` - Source object.
        `master` - Master decorator to delegate decoration of object parts.
      Returns:
        Decoration or null.