public class BsonElement
extends java.lang.Object
BsonDocument| 构造器和说明 |
|---|
BsonElement(java.lang.String name,
BsonValue value)
Construct a new instance with the given key and value
|
public BsonElement(java.lang.String name,
BsonValue value)
name - the non-null keyvalue - the non-null valuepublic java.lang.String getName()
public BsonValue getValue()
BsonValue containing the value of this element.