Package org.bson
Class BsonDocumentReader
java.lang.Object
org.bson.AbstractBsonReader
org.bson.BsonDocumentReader
- All Implemented Interfaces:
Closeable,AutoCloseable,BsonReader
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A
BsonReader implementation that reads from an instance of BsonDocument. This can be used to decode a
BsonDocument using a Decoder.- Since:
- 3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bson.AbstractBsonReader
AbstractBsonReader.State -
Constructor Summary
ConstructorsConstructorDescriptionBsonDocumentReader(BsonDocument document) Deprecated.Construct a new instance. -
Method Summary
Methods inherited from class org.bson.AbstractBsonReader
close, getCurrentBsonType, getCurrentName, getState, peekBinarySize, peekBinarySubType, readBinaryData, readBinaryData, readBoolean, readBoolean, readDateTime, readDateTime, readDBPointer, readDBPointer, readDecimal128, readDecimal128, readDouble, readDouble, readEndArray, readEndDocument, readInt32, readInt32, readInt64, readInt64, readJavaScript, readJavaScript, readJavaScriptWithScope, readJavaScriptWithScope, readMaxKey, readMaxKey, readMinKey, readMinKey, readName, readName, readNull, readNull, readObjectId, readObjectId, readRegularExpression, readRegularExpression, readStartArray, readStartDocument, readString, readString, readSymbol, readSymbol, readTimestamp, readTimestamp, readUndefined, readUndefined, skipName, skipValue
-
Constructor Details
-
BsonDocumentReader
Deprecated.Construct a new instance.- Parameters:
document- the document to read from
-
-
Method Details
-
doReadDecimal128
Deprecated. -
readBsonType
Deprecated.Description copied from interface:BsonReaderReads a BSONType from the reader.- Specified by:
readBsonTypein interfaceBsonReader- Specified by:
readBsonTypein classAbstractBsonReader- Returns:
- A BSONType.
-
mark
Deprecated.Description copied from interface:BsonReaderCreates a bookmark in the BsonReader's input The previous mark must be cleared before creating a new one -
getMark
Deprecated.Description copied from interface:BsonReaderGets a mark representing the current state of the reader.- Returns:
- the mark
-
reset
Deprecated.Description copied from interface:BsonReaderGo back to the state at the last mark and removes the mark
-