Package org.bson.codecs
Class EncoderContext.Builder
- java.lang.Object
-
- org.bson.codecs.EncoderContext.Builder
-
- Enclosing class:
- EncoderContext
@Deprecated(since="2022-10-31") public static final class EncoderContext.Builder extends java.lang.Object
Deprecated.Usage of this API is not supported in AEM as a Cloud Service.A builder forEncoderContext
instances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EncoderContext
build()
Deprecated.Build an instance ofEncoderContext
.EncoderContext.Builder
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 Detail
-
isEncodingCollectibleDocument
public EncoderContext.Builder 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.- Parameters:
encodingCollectibleDocument
- true if the value to be encoded is a document that will be put in a MongoDB collection- Returns:
- this
-
build
public EncoderContext build()
Deprecated.Build an instance ofEncoderContext
.- Returns:
- the encoder context
-
-