Nuxeo Enterprise Platform 5.3

org.nuxeo.ecm.automation.client.jaxrs.spi
Class JsonMarshalling

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.jaxrs.spi.JsonMarshalling

public class JsonMarshalling
extends Object

Author:
Bogdan Stefanescu

Constructor Summary
JsonMarshalling()
           
 
Method Summary
protected static Document readDocument(net.sf.json.JSONObject json)
           
static Object readEntity(String content)
           
protected static RemoteException readException(net.sf.json.JSONObject json)
           
static RemoteException readException(String content)
           
protected static LoginInfo readLogin(net.sf.json.JSONObject json)
           
static OperationRegistry readRegistry(String content)
           
protected static Object readValue(Object o)
           
static String writeRequest(OperationRequest req)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JsonMarshalling

public JsonMarshalling()
Method Detail

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

Nuxeo Enterprise Platform 5.3

Copyright © 2010 Nuxeo SAS. All Rights Reserved.