Java 类org.bson.BsonDbPointer 实例源码

项目:BsonMapper    文件:BsonDbPointerConverter.java   
@Override
public BsonDbPointer decode(BsonValue bsonValue) {
    return bsonValue.asDBPointer();
}
项目:BsonMapper    文件:BsonDbPointerConverter.java   
@Override
public BsonDbPointer encode(BsonDbPointer object) {
    return object;
}
项目:BsonMapper    文件:BsonDbPointerConverter.java   
@Override
public BsonDbPointer decode(BsonReader bsonReader) {
    return bsonReader.readDBPointer();
}
项目:BsonMapper    文件:BsonDbPointerConverter.java   
@Override
public void encode(BsonWriter bsonWriter, BsonDbPointer value) {
    bsonWriter.writeDBPointer(value);
}