|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.automation.client.jaxrs.spi.marshallers.ExceptionMarshaller
public class ExceptionMarshaller
Constructor Summary | |
---|---|
ExceptionMarshaller()
|
Method Summary | |
---|---|
Class<RemoteException> |
getJavaType()
The marshalled java type |
String |
getReference(RemoteException info)
Gets an input reference from the POJO object that can be fetched server side. |
String |
getType()
The type name that appears in serialization |
RemoteException |
read(net.sf.json.JSONObject json)
Builds and returns a POJO from the JSON object |
static RemoteException |
readException(String content)
|
void |
write(net.sf.json.JSONObject object,
RemoteException value)
Writes in the JSON object the POJO's data |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionMarshaller()
Method Detail |
---|
public String getType()
JsonMarshaller
getType
in interface JsonMarshaller<RemoteException>
public Class<RemoteException> getJavaType()
JsonMarshaller
getJavaType
in interface JsonMarshaller<RemoteException>
public String getReference(RemoteException info)
JsonMarshaller
getReference
in interface JsonMarshaller<RemoteException>
public RemoteException read(net.sf.json.JSONObject json)
JsonMarshaller
read
in interface JsonMarshaller<RemoteException>
public void write(net.sf.json.JSONObject object, RemoteException value)
JsonMarshaller
write
in interface JsonMarshaller<RemoteException>
public static RemoteException readException(String content)
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |