|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectBasicFactories
public class BasicFactories
Defines a common abstraction for getting the different factories. This default implementation
provides support for only the most basic factories (referencing,
etc.). Many methods thrown an FactoryNotFoundException
in all cases, for
example all methods related to GO-1 canvas objects. Those methods will be implemented later
in a subclass.
modules/library/main (gt-main.jar)
Field Summary | |
---|---|
protected Hints |
hints
The hints to be used for all factory creation. |
Constructor Summary | |
---|---|
BasicFactories(Map hints)
Creates a new instance of BasicFactories with the specified set of hints. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Hints hints
Constructor Detail |
---|
public BasicFactories(Map hints)
BasicFactories
with the specified set of hints. The
hints
map should contains only the minimum set of hints, since this constructor
will keep a reference to all objects found in this map.
hints
- The hints to be used for all factory creation, or null
if none.Method Detail |
---|
public static BasicFactories getDefault()
public FeatureTypeFactory getTypeFactory() throws FactoryRegistryException
getFeatureTypeFactory()
.
NOTE: This method is not yet supported in Geotools. The default implementation thrown an exception in all case.
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public FeatureTypeFactory getFeatureTypeFactory() throws FactoryRegistryException
getFeatureTypeFactory()
.
NOTE: This method is not yet supported in Geotools. The default implementation thrown an exception in all case.
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public FilterFactory getFilterFactory() throws FactoryRegistryException
NOTE: This method is not yet supported in Geotools. The default implementation thrown an exception in all case.
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public NameFactory getNameFactory() throws FactoryRegistryException
NOTE: This method is not yet supported in Geotools. The default implementation thrown an exception in all case.
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public CitationFactory getCitationFactory() throws FactoryRegistryException
NOTE: This method is not yet supported in Geotools. The default implementation thrown an exception in all case.
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public CRSAuthorityFactory getCRSAuthorityFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public CRSFactory getCRSFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public CSAuthorityFactory getCSAuthorityFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public CSFactory getCSFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public DatumAuthorityFactory getDatumAuthorityFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public DatumFactory getDatumFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public CoordinateOperationAuthorityFactory getCoordinateOperationAuthorityFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public CoordinateOperationFactory getCoordinateOperationFactory() throws FactoryRegistryException
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public GeometryFactory getGeometryFactory(CoordinateReferenceSystem crs) throws FactoryRegistryException
NOTE: This method is not yet supported in Geotools. The default implementation thrown an exception in all case.
crs
- the coordinate reference system the
geometry factory should use.
null
if the
coordinate reference system is not supported.
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.public PrimitiveFactory getPrimitiveFactory(CoordinateReferenceSystem crs) throws FactoryRegistryException
NOTE: This method is not yet supported in Geotools. The default implementation thrown an exception in all case.
crs
- the coordinate reference system the
primitive factory should use.
null
if the
coordinate reference system is not supported.
FactoryNotFoundException
- if no factory was found for the requested type.
FactoryRegistryException
- if the factory can't be obtained for an other reason.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |