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
Constructors Constructor Description NamedCoordinateReferenceSystemCodec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NamedCoordinateReferenceSystem
decode(BsonReader reader, DecoderContext decoderContext)
void
encode(BsonWriter writer, NamedCoordinateReferenceSystem value, EncoderContext encoderContext)
Class<NamedCoordinateReferenceSystem>
getEncoderClass()
-
-
-
Method Detail
-
encode
public void encode(BsonWriter writer, NamedCoordinateReferenceSystem value, EncoderContext encoderContext)
- Specified by:
encode
in interfaceEncoder<NamedCoordinateReferenceSystem>
-
getEncoderClass
public Class<NamedCoordinateReferenceSystem> getEncoderClass()
- Specified by:
getEncoderClass
in interfaceEncoder<NamedCoordinateReferenceSystem>
-
decode
public NamedCoordinateReferenceSystem decode(BsonReader reader, DecoderContext decoderContext)
- Specified by:
decode
in interfaceDecoder<NamedCoordinateReferenceSystem>
-
-