com.mongodb
Class LazyDBEncoder

java.lang.Object
  extended by com.mongodb.LazyDBEncoder
All Implemented Interfaces:
DBEncoder

public class LazyDBEncoder
extends Object
implements DBEncoder

Encoder that only knows how to encode BSONObject instances of type LazyDBObject.


Constructor Summary
LazyDBEncoder()
           
 
Method Summary
 int writeObject(OutputBuffer buf, BSONObject o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyDBEncoder

public LazyDBEncoder()
Method Detail

writeObject

public int writeObject(OutputBuffer buf,
                       BSONObject o)
Specified by:
writeObject in interface DBEncoder
Parameters:
buf -
o -
Returns:
Throws:
MongoException