|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.geometry.jts.FactoryFinder
Defines static methods used to access geometry, coordinate sequence or precision model factories.
Method Summary | |
static java.util.Set |
getCoordinateSequenceFactories()
Returns a set of all available implementations for the CoordinateSequenceFactory
interface. |
static com.vividsolutions.jts.geom.CoordinateSequenceFactory |
getCoordinateSequenceFactory(Hints hints)
Returns the first implementation of CoordinateSequenceFactory matching the specified
hints. |
static java.util.Set |
getGeometryFactories()
Returns a set of all available implementations for the GeometryFactory category. |
static com.vividsolutions.jts.geom.GeometryFactory |
getGeometryFactory(Hints hints)
Returns the first implementation of GeometryFactory matching the specified hints.
|
static com.vividsolutions.jts.geom.PrecisionModel |
getPrecisionModel(Hints hints)
Returns the first implementation of PrecisionModel matching the specified hints.
|
static java.util.Set |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static com.vividsolutions.jts.geom.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 if none.
FactoryRegistryException
- if no implementation was found or can be created for the
GeometryFactory
category and the given hints.public static java.util.Set getGeometryFactories()
GeometryFactory
category.
public static com.vividsolutions.jts.geom.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 if none.
FactoryRegistryException
- if no implementation was found or can be created for the
PrecisionModel
category and the given hints.public static java.util.Set getPrecisionModels()
PrecisionModel
category.
public static com.vividsolutions.jts.geom.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 if none.
FactoryRegistryException
- if no implementation was found or can be created for the
CoordinateSequenceFactory
interface and the given hints.public static java.util.Set getCoordinateSequenceFactories()
CoordinateSequenceFactory
interface.
public static void scanForPlugins()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |