Nuxeo Enterprise Platform 5.4

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

Method Summary
static void addMarshaller(JsonMarshaller<?> marshaller)
           
static
<T> JsonMarshaller<T>
getMarshaller(Class<T> clazz)
           
static
<T> JsonMarshaller<T>
getMarshaller(String type)
           
static Object readEntity(String content)
           
static OperationRegistry readRegistry(String content)
           
static String writeRequest(OperationRequest req)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addMarshaller

public static void addMarshaller(JsonMarshaller<?> marshaller)

getMarshaller

public static <T> JsonMarshaller<T> getMarshaller(String type)

getMarshaller

public static <T> JsonMarshaller<T> getMarshaller(Class<T> clazz)

readRegistry

public static OperationRegistry readRegistry(String content)

readEntity

public static Object readEntity(String content)

writeRequest

public static String writeRequest(OperationRequest req)
                           throws Exception
Throws:
Exception

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.