Package org.bson.codecs
Class EncoderContext.Builder
java.lang.Object
org.bson.codecs.EncoderContext.Builder
- Enclosing class:
EncoderContext
Deprecated.
Usage of this API is not supported in AEM as a Cloud Service.
A builder for
EncoderContext
instances.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Build an instance ofEncoderContext
.isEncodingCollectibleDocument
(boolean encodingCollectibleDocument) Deprecated.Set to true if the the value to be encoded is a document that will be put in a MongoDB collection.
-
Method Details
-
isEncodingCollectibleDocument
Deprecated.Set to true if the the value to be encoded is a document that will be put in a MongoDB collection.- Parameters:
encodingCollectibleDocument
- true if the value to be encoded is a document that will be put in a MongoDB collection- Returns:
- this
-
build
Deprecated.Build an instance ofEncoderContext
.- Returns:
- the encoder context
-