|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- public interface JsonMarshaller<T>
Plugs in automation client new input/output marshalling logic.
Method Summary | |
---|---|
Class<T> |
getJavaType()
The marshalled java type |
String |
getReference(T value)
Gets an input reference from the POJO object that can be fetched server side. |
String |
getType()
The type name that appears in serialization |
T |
read(net.sf.json.JSONObject object)
Builds and returns a POJO from the JSON object |
void |
write(net.sf.json.JSONObject object,
T data)
Writes in the JSON object the POJO's data |
Method Detail |
---|
String getType()
Class<T> getJavaType()
String getReference(T value)
ref
-
T read(net.sf.json.JSONObject object)
json
-
void write(net.sf.json.JSONObject object, T data)
o
- value
-
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |