public class JTSFactoryFinder extends FactoryFinder
EMPTY_HINTS| Modifier and Type | Method and Description |
|---|---|
static Set<CoordinateSequenceFactory> |
getCoordinateSequenceFactories()
Returns a set of all available implementations for the
CoordinateSequenceFactory
interface. |
static CoordinateSequenceFactory |
getCoordinateSequenceFactory(Hints hints)
Returns the first implementation of
CoordinateSequenceFactory matching the specified
hints. |
static Set<GeometryFactory> |
getGeometryFactories()
Returns a set of all available implementations for the
GeometryFactory category. |
static GeometryFactory |
getGeometryFactory()
Returns the first implementation of
GeometryFactory, a new one is created if possible
or an exception is thrown otherwise. |
static GeometryFactory |
getGeometryFactory(Hints hints)
Returns the first implementation of
GeometryFactory matching the specified hints. |
static PrecisionModel |
getPrecisionModel(Hints hints)
Returns the first implementation of
PrecisionModel matching the specified hints. |
static Set<PrecisionModel> |
getPrecisionModels()
Returns a set of all available implementations for the
PrecisionModel category. |
static void |
scanForPlugins()
Scans for factory plug-ins on the application class path.
|
mergeSystemHintspublic static GeometryFactory getGeometryFactory(Hints hints) throws FactoryRegistryException
GeometryFactory matching the specified hints. If
no implementation matches, a new one is created if possible or an exception is thrown
otherwise.
Hints that may be understood includes JTS_COORDINATE_SEQUENCE_FACTORY, JTS_PRECISION_MODEL and
JTS_SRID.
hints - An optional map of hints, or null if none.FactoryRegistryException - if no implementation was found or can be created for the
GeometryFactory category and the given hints.public static GeometryFactory getGeometryFactory()
throws FactoryRegistryException
GeometryFactory, a new one is created if possible
or an exception is thrown otherwise.FactoryRegistryException - if no implementation was found or can be created for the
GeometryFactory category.public static Set<GeometryFactory> getGeometryFactories()
GeometryFactory category.public static PrecisionModel getPrecisionModel(Hints hints) throws FactoryRegistryException
PrecisionModel matching the specified hints. If
no implementation matches, a new one is created if possible or an exception is thrown
otherwise.hints - An optional map of hints, or null if none.FactoryRegistryException - if no implementation was found or can be created for the
PrecisionModel category and the given hints.public static Set<PrecisionModel> getPrecisionModels()
PrecisionModel category.public static CoordinateSequenceFactory getCoordinateSequenceFactory(Hints hints) throws FactoryRegistryException
CoordinateSequenceFactory matching the specified
hints. If no implementation matches, a new one is created if possible or an exception is
thrown otherwise.hints - An optional map of hints, or null if none.FactoryRegistryException - if no implementation was found or can be created for the
CoordinateSequenceFactory interface and the given hints.public static Set<CoordinateSequenceFactory> getCoordinateSequenceFactories()
CoordinateSequenceFactory
interface.public static void scanForPlugins()
Copyright © 1996–2019 Geotools. All rights reserved.