com.mongodb.util
Class JSONCallback

java.lang.Object
  extended by org.bson.BasicBSONCallback
      extended by com.mongodb.util.JSONCallback
All Implemented Interfaces:
BSONCallback

public class JSONCallback
extends BasicBSONCallback


Field Summary
static String _msDateFormat
           
static String _secDateFormat
           
 
Constructor Summary
JSONCallback()
           
 
Method Summary
 BSONObject create()
           
protected  BSONObject createList()
           
 Object objectDone()
           
 void objectStart(boolean array, String name)
           
 
Methods inherited from class org.bson.BasicBSONCallback
_put, arrayDone, arrayStart, arrayStart, create, createBSONCallback, cur, curName, get, gotBinary, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID, isStackEmpty, objectStart, objectStart, objectStart, reset, setRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_msDateFormat

public static final String _msDateFormat
See Also:
Constant Field Values

_secDateFormat

public static final String _secDateFormat
See Also:
Constant Field Values
Constructor Detail

JSONCallback

public JSONCallback()
Method Detail

create

public BSONObject create()
Overrides:
create in class BasicBSONCallback

createList

protected BSONObject createList()
Overrides:
createList in class BasicBSONCallback

objectStart

public void objectStart(boolean array,
                        String name)
Overrides:
objectStart in class BasicBSONCallback

objectDone

public Object objectDone()
Specified by:
objectDone in interface BSONCallback
Overrides:
objectDone in class BasicBSONCallback