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


Constructor Summary
JSONCallback()
           
 
Method Summary
 BSONObject create()
           
 BSONObject create(boolean array, java.util.List<java.lang.String> path)
           
 java.lang.Object objectDone()
           
 void objectStart(boolean array, java.lang.String name)
           
 
Methods inherited from class org.bson.BasicBSONCallback
_put, arrayDone, arrayStart, arrayStart, createBSONCallback, cur, 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
 

Constructor Detail

JSONCallback

public JSONCallback()
Method Detail

create

public BSONObject create()
Overrides:
create in class BasicBSONCallback

create

public BSONObject create(boolean array,
                         java.util.List<java.lang.String> path)
Overrides:
create in class BasicBSONCallback

objectStart

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

objectDone

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