er.ajax.json.serializer
Class JSONEnterpriseObjectSerializer
java.lang.Object
org.jabsorb.serializer.AbstractSerializer
er.ajax.json.serializer.JSONEnterpriseObjectSerializer
- All Implemented Interfaces:
- Serializable, org.jabsorb.serializer.Serializer
public class JSONEnterpriseObjectSerializer
- extends org.jabsorb.serializer.AbstractSerializer
JSONEnterpriseObjectSerializer turns EO's from a JSON server into IJSONEnterpriseObject stubs of the EO's (and back
again).
- See Also:
- Serialized Form
- Author:
- mschrag
| Fields inherited from class org.jabsorb.serializer.AbstractSerializer |
ser |
| Methods inherited from class org.jabsorb.serializer.AbstractSerializer |
setOwner |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
publicAttributes
protected static NSMutableDictionary publicAttributes
JSONEnterpriseObjectSerializer
public JSONEnterpriseObjectSerializer()
getSerializableClasses
public Class[] getSerializableClasses()
getJSONClasses
public Class[] getJSONClasses()
canSerialize
public boolean canSerialize(Class clazz,
Class jsonClazz)
- Specified by:
canSerialize in interface org.jabsorb.serializer.Serializer- Overrides:
canSerialize in class org.jabsorb.serializer.AbstractSerializer
tryUnmarshall
public org.jabsorb.serializer.ObjectMatch tryUnmarshall(org.jabsorb.serializer.SerializerState state,
Class clazz,
Object jso)
unmarshall
public Object unmarshall(org.jabsorb.serializer.SerializerState state,
Class clazz,
Object o)
throws org.jabsorb.serializer.UnmarshallException
- Throws:
org.jabsorb.serializer.UnmarshallException
marshall
public Object marshall(org.jabsorb.serializer.SerializerState state,
Object p,
Object o)
throws org.jabsorb.serializer.MarshallException
- Throws:
org.jabsorb.serializer.MarshallException
Copyright © 2002 – 2011 Project Wonder.