Package org.bson.codecs
Class DecoderContext
- java.lang.Object
- 
- org.bson.codecs.DecoderContext
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDecoderContext.BuilderA builder forDecoderContextinstances.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DecoderContext.Builderbuilder()Create a builder.<T> TdecodeWithChildContext(Decoder<T> decoder, BsonReader reader)Creates a child context and then deserializes using the reader.booleanhasCheckedDiscriminator()
 
- 
- 
- 
Method Detail- 
hasCheckedDiscriminatorpublic boolean hasCheckedDiscriminator() - Returns:
- true if the discriminator has been checked
 
 - 
builderpublic static DecoderContext.Builder builder() Create a builder.- Returns:
- the builder
 
 - 
decodeWithChildContextpublic <T> T decodeWithChildContext(Decoder<T> decoder, BsonReader reader) Creates a child context and then deserializes using the reader.- Type Parameters:
- T- the type of the decoder
- Parameters:
- decoder- the decoder to decode with
- reader- the reader to decode to
- Returns:
- the decoded value
- Since:
- 3.5
 
 
- 
 
-