Package org.geotools.referencing.factory
Class URN_AuthorityFactory
-
- All Implemented Interfaces:
AuthorityFactory
,CRSAuthorityFactory
,CSAuthorityFactory
,DatumAuthorityFactory
,Factory
,CoordinateOperationAuthorityFactory
,Factory
,OptionalFactory
,RegistrableFactory
public class URN_AuthorityFactory extends Abstract_URI_AuthorityFactory
Wraps all factories in a"urn:ogc:def"
name space. An example of complete URN is"urn:ogc:def:crs:EPSG:6.8:4326"
.Users don't need to create an instance of this class, since one is automatically registered for use in
org.geotools.api.referencing.ReferencingFactoryFinder
.- Author:
- Justin Deoliveira, Martin Desruisseaux, Ben Caradoc-Davies (CSIRO Earth Science and Resource Engineering)
- See Also:
- URNs of definitions in OGC namespace
-
-
Field Summary
Fields Modifier and Type Field Description static String
HINTS_AUTHORITY
The name used inHints.FORCE_AXIS_ORDER_HONORING
for this factory.-
Fields inherited from class ReferencingFactory
LOGGER
-
Fields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
-
-
Constructor Summary
Constructors Constructor Description URN_AuthorityFactory()
Constructor.URN_AuthorityFactory(AllAuthoritiesFactory factory)
Constructor.URN_AuthorityFactory(Hints userHints)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected URI_Parser
buildParser(String code)
Subclasses must implement this method to return a subclass of URI_Parser appropriate to their URI.Citation
getAuthority()
Returns the organization or party responsible for definition and maintenance of the database.-
Methods inherited from class Abstract_URI_AuthorityFactory
createVersionedFactory, getAuthorityFactory, getCoordinateOperationAuthorityFactory, getCRSAuthorityFactory, getCSAuthorityFactory, getDatumAuthorityFactory, toBackingFactoryCode
-
Methods inherited from class AuthorityFactoryAdapter
createCartesianCS, createCompoundCRS, createCoordinateOperation, createCoordinateReferenceSystem, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createDatum, createDerivedCRS, createEllipsoid, createEllipsoidalCS, createEngineeringCRS, createEngineeringDatum, createExtent, createFromCoordinateReferenceSystemCodes, createGeocentricCRS, createGeodeticDatum, createGeographicCRS, createImageCRS, createImageDatum, createObject, createOperationMethod, createParameterDescriptor, createPolarCS, createPrimeMeridian, createProjectedCRS, createSphericalCS, createTemporalCRS, createTemporalDatum, createTimeCS, createUnit, createVerticalCRS, createVerticalCS, createVerticalDatum, dispose, getAuthorityCodes, getBackingStoreDescription, getDescriptionText, getIdentifiedObjectFinder, getVendor, isAvailable, notifySuccess
-
Methods inherited from class AbstractAuthorityFactory
noSuchAuthorityCode, trimAuthority
-
Methods inherited from class ReferencingFactory
ensureNonNull
-
Methods inherited from class AbstractFactory
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
-
Methods inherited from interface AuthorityFactory
createObject, getAuthorityCodes, getDescriptionText
-
Methods inherited from interface CoordinateOperationAuthorityFactory
createCoordinateOperation, createFromCoordinateReferenceSystemCodes
-
Methods inherited from interface CRSAuthorityFactory
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS
-
Methods inherited from interface CSAuthorityFactory
createCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCS
-
Methods inherited from interface DatumAuthorityFactory
createDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatum
-
Methods inherited from interface Factory
getImplementationHints
-
-
-
-
Field Detail
-
HINTS_AUTHORITY
public static final String HINTS_AUTHORITY
The name used inHints.FORCE_AXIS_ORDER_HONORING
for this factory.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
URN_AuthorityFactory
public URN_AuthorityFactory()
Constructor.- See Also:
Abstract_URI_AuthorityFactory(String)
-
URN_AuthorityFactory
public URN_AuthorityFactory(Hints userHints)
Constructor.
-
URN_AuthorityFactory
public URN_AuthorityFactory(AllAuthoritiesFactory factory)
Constructor.
-
-
Method Detail
-
getAuthority
public Citation getAuthority()
Description copied from class:AuthorityFactoryAdapter
Returns the organization or party responsible for definition and maintenance of the database.- Specified by:
getAuthority
in interfaceAuthorityFactory
- Specified by:
getAuthority
in classAbstract_URI_AuthorityFactory
- Returns:
- The organization reponsible for definition of the database.
- See Also:
Abstract_URI_AuthorityFactory.getAuthority()
-
buildParser
protected URI_Parser buildParser(String code) throws NoSuchAuthorityCodeException
Description copied from class:Abstract_URI_AuthorityFactory
Subclasses must implement this method to return a subclass of URI_Parser appropriate to their URI.- Specified by:
buildParser
in classAbstract_URI_AuthorityFactory
- Parameters:
code
- the URI to be parsed- Throws:
NoSuchAuthorityCodeException
- See Also:
Abstract_URI_AuthorityFactory.buildParser(java.lang.String)
-
-