com.kfuntak.gwt.json.serialization.client
Class Serializer
java.lang.Object
com.kfuntak.gwt.json.serialization.client.Serializer
public class Serializer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Serializer
protected Serializer()
addObjectSerializer
protected void addObjectSerializer(String name,
ObjectSerializer obj)
getObjectSerializer
protected ObjectSerializer getObjectSerializer(String name)
getTypeName
protected static String getTypeName(Object obj)
serialize
public String serialize(Object pojo)
serializeToJson
public com.google.gwt.json.client.JSONValue serializeToJson(Object pojo)
deSerialize
public Object deSerialize(com.google.gwt.json.client.JSONValue jsonValue,
String className)
throws com.google.gwt.json.client.JSONException
- Throws:
com.google.gwt.json.client.JSONException
deSerialize
public Object deSerialize(String jsonString,
String className)
throws com.google.gwt.json.client.JSONException
- Throws:
com.google.gwt.json.client.JSONException
Copyright © 2012. All Rights Reserved.