public class MultiPointCodec extends Object implements Codec<MultiPoint>
| Constructor and Description | 
|---|
| MultiPointCodec(CodecRegistry registry)Constructs an instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| MultiPoint | decode(BsonReader reader,
      DecoderContext decoderContext)Decodes a BSON value from the given reader into an instance of the type parameter  T. | 
| void | encode(BsonWriter writer,
      MultiPoint value,
      EncoderContext encoderContext)Encode an instance of the type parameter  Tinto a BSON value. | 
| Class<MultiPoint> | getEncoderClass()Returns the Class instance that this encodes. | 
public MultiPointCodec(CodecRegistry registry)
registry - the registrypublic void encode(BsonWriter writer, MultiPoint value, EncoderContext encoderContext)
EncoderT into a BSON value.encode in interface Encoder<MultiPoint>writer - the BSON writer to encode intovalue - the value to encodeencoderContext - the encoder contextpublic Class<MultiPoint> getEncoderClass()
EncodergetEncoderClass in interface Encoder<MultiPoint>public MultiPoint decode(BsonReader reader, DecoderContext decoderContext)
DecoderT.decode in interface Decoder<MultiPoint>reader - the BSON readerdecoderContext - the decoder contextT.