public class AllAuthoritiesFactory extends ManyAuthoritiesFactory
ManyAuthoritiesFactory
except that the set
of factories is determined by calls to
ReferencingFactoryFinder.getFooAuthorityFactory(authority, hints)
.
This class is not registered in ReferencingFactoryFinder
. If this "authority" factory
is wanted, then users need to refer explicitly to the DEFAULT
constant or to create
their own instance.
Modifier and Type | Field and Description |
---|---|
static AllAuthoritiesFactory |
DEFAULT
An instance of
AllAuthoritiesFactory with the default name separator and no hints. |
LOGGER
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
Constructor and Description |
---|
AllAuthoritiesFactory(Hints hints)
Creates a new factory using the specified hints.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAuthorityNames()
Returns the set of authority names.
|
IdentifiedObjectFinder |
getIdentifiedObjectFinder(Class<? extends IdentifiedObject> type)
Returns a finder which can be used for looking up unidentified objects.
|
createObject, getAuthority, getAuthorityCodes, getAuthorityFactory, getBackingStoreDescription, getCoordinateOperationAuthorityFactory, getCRSAuthorityFactory, getCSAuthorityFactory, getDatumAuthorityFactory, getDescriptionText, getSeparator, getVendor
createCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateReferenceSystem, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringCRS, createEngineeringDatum, createExtent, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createOperationMethod, createParameterDescriptor, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, dispose, isAvailable, toBackingFactoryCode
noSuchAuthorityCode, trimAuthority
ensureNonNull
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS
createCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCS
createDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatum
createCoordinateOperation, createFromCoordinateReferenceSystemCodes
getImplementationHints
public static AllAuthoritiesFactory DEFAULT
AllAuthoritiesFactory
with the default name separator and no hints.public AllAuthoritiesFactory(Hints hints)
hints
- An optional set of hints, or null
if none.public Set<String> getAuthorityNames()
getAuthorityNames
in class ManyAuthoritiesFactory
public IdentifiedObjectFinder getIdentifiedObjectFinder(Class<? extends IdentifiedObject> type) throws FactoryException
getIdentifiedObjectFinder
in class ManyAuthoritiesFactory
type
- The type of objects to look for. Should be a GeoAPI interface like GeographicCRS.class
, but this method accepts also implementation class. If the type is
unknown, use IdentifiedObject.class
. A more accurate type may help to speed up
the search, since it reduces the amount of tables to scan in some implementations like
the factories backed by EPSG database.FactoryException
- if the object creation failed.Copyright © 1996–2019 Geotools. All rights reserved.