GWT 2.3.0

com.google.gwt.autobean.shared
Class ValueCodex

java.lang.Object
  extended by com.google.gwt.autobean.shared.ValueCodex

Deprecated.

@Deprecated
public class ValueCodex
extends java.lang.Object

Provides unified encoding and decoding of value objects.

AutoBeans has moved to com.google.web.bindery.autobeans. This package will be removed in a future version of GWT.


Constructor Summary
ValueCodex()
          Deprecated.  
 
Method Summary
static boolean canDecode(java.lang.Class<?> clazz)
          Deprecated. Returns true if ValueCodex can operate on values of the given type.
static
<T> T
decode(java.lang.Class<T> clazz, Splittable split)
          Deprecated.  
static
<T> T
decode(java.lang.Class<T> clazz, java.lang.String string)
          Deprecated.  
static Splittable encode(java.lang.Class<?> clazz, java.lang.Object obj)
          Deprecated. Encode a value object when the wire format type is known.
static Splittable encode(java.lang.Object obj)
          Deprecated.  
static java.util.Set<java.lang.Class<?>> getAllValueTypes()
          Deprecated. Return all Value types that can be processed by the ValueCodex.
static java.lang.Object getUninitializedFieldValue(java.lang.Class<?> clazz)
          Deprecated. Returns the uninitialized field value for the given primitive type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueCodex

public ValueCodex()
Deprecated. 
Method Detail

canDecode

public static boolean canDecode(java.lang.Class<?> clazz)
Deprecated. 
Returns true if ValueCodex can operate on values of the given type.

Parameters:
clazz - a Class object
Returns:
true if the given object type can be decoded

decode

public static <T> T decode(java.lang.Class<T> clazz,
                           Splittable split)
Deprecated. 

decode

public static <T> T decode(java.lang.Class<T> clazz,
                           java.lang.String string)
Deprecated. 

encode

public static Splittable encode(java.lang.Class<?> clazz,
                                java.lang.Object obj)
Deprecated. 
Encode a value object when the wire format type is known. This method should be preferred over encode(Object) when possible.


encode

public static Splittable encode(java.lang.Object obj)
Deprecated. 

getAllValueTypes

public static java.util.Set<java.lang.Class<?>> getAllValueTypes()
Deprecated. 
Return all Value types that can be processed by the ValueCodex.


getUninitializedFieldValue

public static java.lang.Object getUninitializedFieldValue(java.lang.Class<?> clazz)
Deprecated. 
Returns the uninitialized field value for the given primitive type.


GWT 2.3.0