public final class DecoderContext
extends java.lang.Object
Decoder
Modifier and Type | Class and Description |
---|---|
static class |
DecoderContext.Builder
A builder for
DecoderContext instances. |
Modifier and Type | Method and Description |
---|---|
static DecoderContext.Builder |
builder()
Create a builder.
|
<T> T |
decodeWithChildContext(Decoder<T> decoder,
BsonReader reader)
Creates a child context and then deserializes using the reader.
|
boolean |
hasCheckedDiscriminator() |
public boolean hasCheckedDiscriminator()
public static DecoderContext.Builder builder()
public <T> T decodeWithChildContext(Decoder<T> decoder, BsonReader reader)
T
- the type of the decoderdecoder
- the decoder to decode withreader
- the reader to decode toCopyright © 2010 - 2020 Adobe. All Rights Reserved