Class NamedCoordinateReferenceSystemCodec
java.lang.Object
com.mongodb.client.model.geojson.codecs.NamedCoordinateReferenceSystemCodec
- All Implemented Interfaces:
Codec<NamedCoordinateReferenceSystem>
,Decoder<NamedCoordinateReferenceSystem>
,Encoder<NamedCoordinateReferenceSystem>
public class NamedCoordinateReferenceSystemCodec
extends Object
implements Codec<NamedCoordinateReferenceSystem>
Codec for a GeoJson Coordinate Reference System of type name.
- Since:
- 3.1
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondecode
(BsonReader reader, DecoderContext decoderContext) void
encode
(BsonWriter writer, NamedCoordinateReferenceSystem value, EncoderContext encoderContext)
-
Constructor Details
-
NamedCoordinateReferenceSystemCodec
public NamedCoordinateReferenceSystemCodec()
-
-
Method Details
-
encode
public void encode(BsonWriter writer, NamedCoordinateReferenceSystem value, EncoderContext encoderContext) - Specified by:
encode
in interfaceEncoder<NamedCoordinateReferenceSystem>
-
getEncoderClass
- Specified by:
getEncoderClass
in interfaceEncoder<NamedCoordinateReferenceSystem>
-
decode
- Specified by:
decode
in interfaceDecoder<NamedCoordinateReferenceSystem>
-