public interface ConversionAdaptor<NativeType,RepresentationType>
Modifier and Type | Method and Description |
---|---|
NativeType |
toNative(RepresentationType primitive)
convert the representation into the native type
|
RepresentationType |
toRepresentation(NativeType custom)
convert the native type to a desired representation
|
RepresentationType toRepresentation(NativeType custom)
NativeType toNative(RepresentationType primitive)