public class

EntityCodex

extends Object
java.lang.Object
   ↳ com.google.gwt.requestfactory.shared.impl.EntityCodex

Class Overview

Analogous to ValueCodex, but for object types.

Summary

Nested Classes
interface EntityCodex.EntitySource Abstracts the process by which EntityProxies are created. 
Public Constructors
EntityCodex()
Public Methods
static Object decode(EntityCodex.EntitySource source, Class<?> type, Class<?> elementType, String jsonPayload)
Collection support is limited to value types and resolving ids.
static Object decode(EntityCodex.EntitySource source, Class<?> type, Class<?> elementType, Splittable split)
Collection support is limited to value types and resolving ids.
static Splittable encode(EntityCodex.EntitySource source, Object value)
Create a wire-format representation of an object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public EntityCodex ()

Public Methods

public static Object decode (EntityCodex.EntitySource source, Class<?> type, Class<?> elementType, String jsonPayload)

Collection support is limited to value types and resolving ids.

public static Object decode (EntityCodex.EntitySource source, Class<?> type, Class<?> elementType, Splittable split)

Collection support is limited to value types and resolving ids.

public static Splittable encode (EntityCodex.EntitySource source, Object value)

Create a wire-format representation of an object.