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