org.geotools.geometry
Class GeometryFactoryFinder

Object
  extended by FactoryFinder
      extended by GeometryFactoryFinder

public class GeometryFactoryFinder
extends FactoryFinder

Defines static methods used to access the application's default geometry factory implementations.

Since:
2.5
Author:
Jody Garnett (Refractions Research)

Field Summary
 
Fields inherited from class FactoryFinder
EMPTY_HINTS
 
Method Summary
static AggregateFactory getAggregateFactory(Hints hints)
           
static ComplexFactory getComplexFactory(Hints hints)
           
static GeometryFactory getGeometryFactory(Hints hints)
          An implementation of GeometryFactory for the provided crs.
static PositionFactory getPositionFactory(Hints hints)
           
static Precision getPrecision(Hints hints)
           
static PrimitiveFactory getPrimitiveFactory(Hints hints)
           
 
Methods inherited from class FactoryFinder
mergeSystemHints
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getPrecision

public static Precision getPrecision(Hints hints)
                              throws FactoryRegistryException
Throws:
FactoryRegistryException

getPositionFactory

public static PositionFactory getPositionFactory(Hints hints)
                                          throws FactoryRegistryException
Throws:
FactoryRegistryException

getGeometryFactory

public static GeometryFactory getGeometryFactory(Hints hints)
                                          throws FactoryRegistryException
An implementation of GeometryFactory for the provided crs.

Parameters:
hints - A set of hints that *must* include a Hints.CRS key
Returns:
a GeometryFactory set up to work with the indicated CRS
Throws:
FactoryRegistryException - if no implementation was found or can be created for the GeometryFactory interface.

getComplexFactory

public static ComplexFactory getComplexFactory(Hints hints)
                                        throws FactoryRegistryException
Throws:
FactoryRegistryException

getAggregateFactory

public static AggregateFactory getAggregateFactory(Hints hints)
                                            throws FactoryRegistryException
Throws:
FactoryRegistryException

getPrimitiveFactory

public static PrimitiveFactory getPrimitiveFactory(Hints hints)
                                            throws FactoryRegistryException
Throws:
FactoryRegistryException


Copyright © 1996-2014 Geotools. All Rights Reserved.