Class JtsModule
- Object
-
- Module
-
- SimpleModule
-
- JtsModule
-
- All Implemented Interfaces:
Versioned
,Serializable
public class JtsModule extends SimpleModule
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_MAX_DECIMALS
static int
DEFAULT_MIN_DECIMALS
static RoundingMode
DEFAULT_ROUND_MODE
-
Constructor Summary
Constructors Constructor Description JtsModule()
JtsModule(int maxDecimals)
JtsModule(GeometryFactory geometryFactory)
JtsModule(GeometryFactory geometryFactory, int maxDecimals, int minDecimals, RoundingMode rounding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setMaxDecimals(int number)
void
setupModule(Module.SetupContext context)
-
Methods inherited from class SimpleModule
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setValueInstantiators, version
-
-
-
-
Field Detail
-
DEFAULT_MAX_DECIMALS
public static int DEFAULT_MAX_DECIMALS
-
DEFAULT_MIN_DECIMALS
public static int DEFAULT_MIN_DECIMALS
-
DEFAULT_ROUND_MODE
public static RoundingMode DEFAULT_ROUND_MODE
-
-
Constructor Detail
-
JtsModule
public JtsModule(int maxDecimals)
-
JtsModule
public JtsModule()
-
JtsModule
public JtsModule(GeometryFactory geometryFactory)
-
JtsModule
public JtsModule(GeometryFactory geometryFactory, int maxDecimals, int minDecimals, RoundingMode rounding)
-
-