|
GWT 2.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.autobean.shared.AutoBeanCodex
@Deprecated public class AutoBeanCodex
Utility methods for encoding an AutoBean graph into a JSON-compatible string. This codex intentionally does not preserve object identity, nor does it encode cycles, but it will detect them.
AutoBeans has moved to
com.google.web.bindery.autobeans. This package will be
removed in a future version of GWT.
| Method Summary | ||
|---|---|---|
static
|
decode(AutoBeanFactory factory,
java.lang.Class<T> clazz,
Splittable data)
Deprecated. |
|
static
|
decode(AutoBeanFactory factory,
java.lang.Class<T> clazz,
java.lang.String payload)
Deprecated. Decode an AutoBeanCodex payload. |
|
static void |
decodeInto(Splittable data,
AutoBean<?> bean)
Deprecated. Copy data from a Splittable into an AutoBean. |
|
static Splittable |
encode(AutoBean<?> bean)
Deprecated. Encodes an AutoBean. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static <T> AutoBean<T> decode(AutoBeanFactory factory,
java.lang.Class<T> clazz,
Splittable data)
public static <T> AutoBean<T> decode(AutoBeanFactory factory,
java.lang.Class<T> clazz,
java.lang.String payload)
T - the expected return typefactory - an AutoBeanFactory capable of producing AutoBean<T>clazz - the expected return typepayload - a payload string previously generated by
encode(AutoBean)
public static void decodeInto(Splittable data,
AutoBean<?> bean)
Splittable into an AutoBean. Unset values in the
Splittable will not nullify data that already exists in the AutoBean.
data - the source data to copybean - the target AutoBeanpublic static Splittable encode(AutoBean<?> bean)
Splittable.getPayload().
bean - the bean to encode
|
GWT 2.3.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||