Hubiquitus Android  0.3
Android client for hubiquitus protocol
org.hubiquitus.hapi.util.HJsonDictionnary Class Reference
Inheritance diagram for org.hubiquitus.hapi.util.HJsonDictionnary:
org.hubiquitus.hapi.hStructures.HJsonObj

List of all members.

Public Member Functions

 HJsonDictionnary ()
 HJsonDictionnary (JSONObject jsonObj)
Object get (String key)
void put (String key, Object value)
JSONObject toJSON ()
void fromJSON (JSONObject jsonObj)
String getHType ()
String toString ()
boolean equals (Object obj)
int hashCode ()

Detailed Description

Version:
0.3 Basic implementation of HJonObj. Can be use as a dictionnary.

Definition at line 32 of file HJsonDictionnary.java.


Constructor & Destructor Documentation

Definition at line 40 of file HJsonDictionnary.java.


Member Function Documentation

Deserialize object from Json

Parameters:
jsonObj

Implements org.hubiquitus.hapi.hStructures.HJsonObj.

Definition at line 82 of file HJsonDictionnary.java.

Definition at line 44 of file HJsonDictionnary.java.

Returns:
Type of the HJsonObj

Implements org.hubiquitus.hapi.hStructures.HJsonObj.

Definition at line 87 of file HJsonDictionnary.java.

void org.hubiquitus.hapi.util.HJsonDictionnary.put ( String  key,
Object  value 
)

Only objects allowed are : String, JSONObject, JSONArray, HJsonObj, Boolean, Integer, Double, Calendar. If not one of the types, object is not stored

Parameters:
key
value

Definition at line 60 of file HJsonDictionnary.java.

Returns:
Object serialize to JSon

Implements org.hubiquitus.hapi.hStructures.HJsonObj.

Definition at line 77 of file HJsonDictionnary.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables