org.nuxeo.ecm.automation.client.jaxrs.spi
Class JsonMarshalling
java.lang.Object
org.nuxeo.ecm.automation.client.jaxrs.spi.JsonMarshalling
public class JsonMarshalling
- extends Object
- Author:
- Bogdan Stefanescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsonMarshalling
public JsonMarshalling()
readRegistry
public static OperationRegistry readRegistry(String content)
readEntity
public static Object readEntity(String content)
readException
public static RemoteException readException(String content)
readException
protected static RemoteException readException(net.sf.json.JSONObject json)
readLogin
protected static LoginInfo readLogin(net.sf.json.JSONObject json)
readDocument
protected static Document readDocument(net.sf.json.JSONObject json)
readValue
protected static Object readValue(Object o)
writeRequest
public static String writeRequest(OperationRequest req)
throws Exception
- Throws:
Exception
Copyright © 2010 Nuxeo SAS. All Rights Reserved.