NSDictionarySerializer Class Reference

Inherits org::jabsorb::serializer::AbstractSerializer.

Collaboration diagram for NSDictionarySerializer:

Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean canSerialize (Class clazz, Class jsonClazz)
Class[] getJSONClasses ()
Class[] getSerializableClasses ()
Object marshall (SerializerState state, Object p, Object o) throws MarshallException
ObjectMatch tryUnmarshall (SerializerState state, Class clazz, Object o) throws UnmarshallException
Object unmarshall (SerializerState state, Class clazz, Object o) throws UnmarshallException

Static Private Attributes

static Class[] _JSONClasses = new Class[] { JSONObject.class }
static Class[] _serializableClasses = new Class[] { NSDictionary.class, NSMutableDictionary.class }
static final long serialVersionUID = 2


Detailed Description

Serialises NSDictionaries

TODO: if this serialises a superclass does it need to also specify the subclasses?


Member Function Documentation

boolean canSerialize ( Class  clazz,
Class  jsonClazz 
)

Class [] getJSONClasses (  ) 

Class [] getSerializableClasses (  ) 

Object marshall ( SerializerState  state,
Object  p,
Object  o 
) throws MarshallException

ObjectMatch tryUnmarshall ( SerializerState  state,
Class  clazz,
Object  o 
) throws UnmarshallException

Object unmarshall ( SerializerState  state,
Class  clazz,
Object  o 
) throws UnmarshallException


Member Data Documentation

Class [] _JSONClasses = new Class[] { JSONObject.class } [static, private]

Classes that this can serialise to.

Class [] _serializableClasses = new Class[] { NSDictionary.class, NSMutableDictionary.class } [static, private]

Classes that this can serialise.

final long serialVersionUID = 2 [static, private]

Unique serialisation id.


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:41 2012 for Project Wonder by  doxygen 1.5.8