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.ObjectDeprecated.Usage of this API is not supported in AEM as a Cloud Service.A builder forEncoderContextinstances.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EncoderContextbuild()Deprecated.Build an instance ofEncoderContext.EncoderContext.BuilderisEncodingCollectibleDocument(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
-
-