|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.factory.BasicFactories
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.
Field Summary | |
---|---|
protected Hints |
hints
The hints to be used for all factory creation. |
Constructor Summary | |
---|---|
BasicFactories(java.util.Map hints)
Creates a new instance of BasicFactories with the specified set of hints. |
Method Summary | |
---|---|
org.opengis.metadata.citation.CitationFactory |
getCitationFactory()
Returns the citation factory singleton. |
org.opengis.referencing.operation.CoordinateOperationAuthorityFactory |
getCoordinateOperationAuthorityFactory()
Returns the coordinate operation authority factory singleton. |
org.opengis.referencing.operation.CoordinateOperationFactory |
getCoordinateOperationFactory()
Returns the coordinate operation factory singleton. |
org.opengis.referencing.crs.CRSAuthorityFactory |
getCRSAuthorityFactory()
Returns the CRS authority factory singleton. |
org.opengis.referencing.crs.CRSFactory |
getCRSFactory()
Returns the CRS factory singleton. |
org.opengis.referencing.cs.CSAuthorityFactory |
getCSAuthorityFactory()
Returns the CS authority factory singleton. |
org.opengis.referencing.cs.CSFactory |
getCSFactory()
Returns the CS factory singleton. |
org.opengis.referencing.datum.DatumAuthorityFactory |
getDatumAuthorityFactory()
Returns the datum authority factory singleton. |
org.opengis.referencing.datum.DatumFactory |
getDatumFactory()
Returns the datum factory singleton. |
static BasicFactories |
getDefault()
Returns a default common factory instance. |
org.opengis.feature.type.FeatureTypeFactory |
getFeatureTypeFactory()
Deprecated. use getFeatureTypeFactory() . |
org.opengis.filter.FilterFactory |
getFilterFactory()
Returns the filter factory singleton. |
org.opengis.geometry.coordinate.GeometryFactory |
getGeometryFactory(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Returns the geometry factory equiped to build geometries using the given coordinate reference system. |
org.opengis.util.NameFactory |
getNameFactory()
Returns the name factory singleton. |
org.opengis.geometry.primitive.PrimitiveFactory |
getPrimitiveFactory(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Returns the primitive factory equiped to build primitives using the given coordinate reference system. |
org.opengis.feature.type.FeatureTypeFactory |
getTypeFactory()
Deprecated. use getFeatureTypeFactory() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Hints hints
Constructor Detail |
---|
public BasicFactories(java.util.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 org.opengis.feature.type.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 org.opengis.feature.type.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 org.opengis.filter.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 org.opengis.util.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 org.opengis.metadata.citation.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 org.opengis.referencing.crs.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 org.opengis.referencing.crs.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 org.opengis.referencing.cs.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 org.opengis.referencing.cs.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 org.opengis.referencing.datum.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 org.opengis.referencing.datum.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 org.opengis.referencing.operation.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 org.opengis.referencing.operation.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 org.opengis.geometry.coordinate.GeometryFactory getGeometryFactory(org.opengis.referencing.crs.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 org.opengis.geometry.primitive.PrimitiveFactory getPrimitiveFactory(org.opengis.referencing.crs.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 |