org.geotools.referencing.factory
Class URN_AuthorityFactory

Object
  extended by AbstractFactory
      extended by ReferencingFactory
          extended by AbstractAuthorityFactory
              extended by AuthorityFactoryAdapter
                  extended by Abstract_URI_AuthorityFactory
                      extended by URN_AuthorityFactory
All Implemented Interfaces:
RegisterableService, Factory, OptionalFactory, AuthorityFactory, CRSAuthorityFactory, CSAuthorityFactory, DatumAuthorityFactory, CoordinateOperationAuthorityFactory

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.opengis.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
static String HINTS_AUTHORITY
          The name used in Hints.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
URN_AuthorityFactory()
          Constructor.
URN_AuthorityFactory(AllAuthoritiesFactory factory)
          Constructor.
URN_AuthorityFactory(Hints userHints)
          Constructor.
 
Method Summary
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
 
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 class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
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 CoordinateOperationAuthorityFactory
createCoordinateOperation, createFromCoordinateReferenceSystemCodes
 
Methods inherited from interface AuthorityFactory
createObject, getAuthorityCodes, getDescriptionText
 
Methods inherited from interface Factory
getVendor
 
Methods inherited from interface Factory
getImplementationHints
 

Field Detail

HINTS_AUTHORITY

public static final String HINTS_AUTHORITY
The name used in Hints.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.Abstract_URI_AuthorityFactory(String)

URN_AuthorityFactory

public URN_AuthorityFactory(Hints userHints)
Constructor.

See Also:
Abstract_URI_AuthorityFactory.Abstract_URI_AuthorityFactory(Hints, String)

URN_AuthorityFactory

public URN_AuthorityFactory(AllAuthoritiesFactory factory)
Constructor.

See Also:
Abstract_URI_AuthorityFactory.Abstract_URI_AuthorityFactory(AllAuthoritiesFactory)
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 interface AuthorityFactory
Specified by:
getAuthority in class Abstract_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 class Abstract_URI_AuthorityFactory
Parameters:
code - the URI to be parsed
Returns:
Throws:
NoSuchAuthorityCodeException
See Also:
Abstract_URI_AuthorityFactory.buildParser(java.lang.String)


Copyright © 1996-2014 Geotools. All Rights Reserved.