public class FactoryFinder extends Object
Modifier and Type | Method and Description |
---|---|
static Set |
getCoordinateSequenceFactories()
Deprecated.
Returns a set of all available implementations for the
CoordinateSequenceFactory
interface. |
static CoordinateSequenceFactory |
getCoordinateSequenceFactory(Hints hints)
Deprecated.
Returns the first implementation of
CoordinateSequenceFactory matching the specified
hints. |
static Set |
getGeometryFactories()
Deprecated.
Returns a set of all available implementations for the
GeometryFactory category. |
static GeometryFactory |
getGeometryFactory(Hints hints)
Deprecated.
Returns the first implementation of
GeometryFactory matching the specified hints. |
static PrecisionModel |
getPrecisionModel(Hints hints)
Deprecated.
Returns the first implementation of
PrecisionModel matching the specified hints. |
static Set |
getPrecisionModels()
Deprecated.
Returns a set of all available implementations for the
PrecisionModel category. |
static void |
scanForPlugins()
Deprecated.
Scans for factory plug-ins on the application class path.
|
public 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 Set 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 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 getCoordinateSequenceFactories()
CoordinateSequenceFactory
interface.public static void scanForPlugins()
Copyright © 1996–2019 Geotools. All rights reserved.