org.bson
Class LazyBSONCallback
java.lang.Object
org.bson.EmptyBSONCallback
org.bson.LazyBSONCallback
- All Implemented Interfaces:
- BSONCallback
- Direct Known Subclasses:
- LazyDBCallback
public class LazyBSONCallback
- extends EmptyBSONCallback
Methods inherited from class org.bson.EmptyBSONCallback |
arrayDone, arrayStart, arrayStart, createBSONCallback, gotBinaryArray, gotBoolean, gotCode, gotCodeWScope, gotDate, gotDBRef, gotDouble, gotInt, gotLong, gotMaxKey, gotMinKey, gotNull, gotObjectId, gotRegex, gotString, gotSymbol, gotTimestamp, gotUndefined, gotUUID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LazyBSONCallback
public LazyBSONCallback()
objectStart
public void objectStart()
- Specified by:
objectStart
in interface BSONCallback
- Overrides:
objectStart
in class EmptyBSONCallback
objectStart
public void objectStart(String name)
- Specified by:
objectStart
in interface BSONCallback
- Overrides:
objectStart
in class EmptyBSONCallback
objectStart
public void objectStart(boolean array)
- Specified by:
objectStart
in interface BSONCallback
- Overrides:
objectStart
in class EmptyBSONCallback
objectDone
public Object objectDone()
- Specified by:
objectDone
in interface BSONCallback
- Overrides:
objectDone
in class EmptyBSONCallback
reset
public void reset()
- Specified by:
reset
in interface BSONCallback
- Overrides:
reset
in class EmptyBSONCallback
get
public Object get()
- Specified by:
get
in interface BSONCallback
- Overrides:
get
in class EmptyBSONCallback
gotBinary
public void gotBinary(String name,
byte type,
byte[] data)
- Specified by:
gotBinary
in interface BSONCallback
- Overrides:
gotBinary
in class EmptyBSONCallback
setRootObject
public void setRootObject(Object root)
createObject
public Object createObject(byte[] data,
int offset)
createArray
public List createArray(byte[] data,
int offset)
createDBRef
public Object createDBRef(String ns,
ObjectId id)