public class BasicFactories extends Object
FactoryNotFoundException
in all
cases, for example all methods related to GO-1 canvas objects. Those methods will be implemented
later in a subclass.Modifier and Type | Field and Description |
---|---|
protected Hints |
hints
The hints to be used for all factory creation.
|
Constructor and Description |
---|
BasicFactories(Map hints)
Creates a new instance of
BasicFactories with the specified set of hints. |
protected final Hints hints
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.public static BasicFactories getDefault()
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.Copyright © 1996–2023 Geotools. All rights reserved.