Class ReversedAdapter<A,B>
- java.lang.Object
-
- org.apache.johnzon.mapper.converter.ReversedAdapter<A,B>
-
- All Implemented Interfaces:
Adapter<A,B>
,MapperConverter
public class ReversedAdapter<A,B> extends Object implements Adapter<A,B>
-
-
Constructor Summary
Constructors Constructor Description ReversedAdapter(Adapter<B,A> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
from(A a)
Take the POJO_TYPE object A from a POJO an convert it to JSON_TYPE which will be inserted into the JSON output.A
to(B b)
Transfer JSONTYPE_TYPE from JSON to POJO as POJO_TYPE.
-