|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.factory.AbstractFactory
org.geotools.referencing.factory.AbstractFactory
org.geotools.referencing.factory.AbstractAuthorityFactory
org.geotools.referencing.factory.AllAuthoritiesFactory
An authority factory that delegates the object creation to an other factory determined from the authority name in the code. This factory requires that every codes given to a method are prefixed by the authority name, for example . This is different from using a factory from a known authority, in which case the authority part was optional (for example when using the EPSG authority factory, the part in is optional).
This class parses the authority name and delegates the work the corresponding factory. For
example if any method in this class is invoked with a code starting
by , then this class delegates the object creation to the authority factory
provided by FactoryFinder.getCRSAuthorityFactory("EPSG", hints).
This class is not registered in FactoryFinder, because it is not a real authority
factory. There is not a single authority name associated to this factory, but rather a set
of names determined from all available authority factories. If this "authority" factory is
wanted, then users need to refer explicitly to the DEFAULT constant or to create
their own instance.
| Field Summary | |
static AllAuthoritiesFactory |
DEFAULT
An instance of with the default name separator and no hints. |
| Fields inherited from class org.geotools.referencing.factory.AbstractFactory |
LOGGER |
| Fields inherited from class org.geotools.factory.AbstractFactory |
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority |
| Constructor Summary | |
AllAuthoritiesFactory(Hints hints)
Creates a new factory using the specified hints and the default name separator. |
|
AllAuthoritiesFactory(Hints hints,
java.util.Collection factories)
Creates a new factory using the specified hints and a set of user factories. |
|
AllAuthoritiesFactory(Hints hints,
java.util.Collection factories,
char separator)
Creates a new factory using the specified hints, user factories and name separator. |
|
| Method Summary | |
org.opengis.referencing.cs.CartesianCS |
createCartesianCS(java.lang.String code)
Creates a cartesian coordinate system from a code. |
org.opengis.referencing.crs.CompoundCRS |
createCompoundCRS(java.lang.String code)
Creates a 3D coordinate reference system from a code. |
org.opengis.referencing.operation.CoordinateOperation |
createCoordinateOperation(java.lang.String code)
Creates an operation from a single operation code. |
org.opengis.referencing.crs.CoordinateReferenceSystem |
createCoordinateReferenceSystem(java.lang.String code)
Returns an arbitrary coordinate reference system from a code. |
org.opengis.referencing.cs.CoordinateSystem |
createCoordinateSystem(java.lang.String code)
Returns an arbitrary coordinate system from a code. |
org.opengis.referencing.cs.CoordinateSystemAxis |
createCoordinateSystemAxis(java.lang.String code)
Returns a coordinate system axis from a code. |
org.opengis.referencing.cs.CylindricalCS |
createCylindricalCS(java.lang.String code)
Creates a cylindrical coordinate system from a code. |
org.opengis.referencing.datum.Datum |
createDatum(java.lang.String code)
Returns an arbitrary datum from a code. |
org.opengis.referencing.crs.DerivedCRS |
createDerivedCRS(java.lang.String code)
Creates a derived coordinate reference system from a code. |
org.opengis.referencing.datum.Ellipsoid |
createEllipsoid(java.lang.String code)
Returns an ellipsoid from a code. |
org.opengis.referencing.cs.EllipsoidalCS |
createEllipsoidalCS(java.lang.String code)
Creates an ellipsoidal coordinate system from a code. |
org.opengis.referencing.crs.EngineeringCRS |
createEngineeringCRS(java.lang.String code)
Creates a engineering coordinate reference system from a code. |
org.opengis.referencing.datum.EngineeringDatum |
createEngineeringDatum(java.lang.String code)
Creates a engineering datum from a code. |
java.util.Set |
createFromCoordinateReferenceSystemCodes(java.lang.String sourceCode,
java.lang.String targetCode)
Creates an operation from coordinate reference system codes. |
org.opengis.referencing.crs.GeocentricCRS |
createGeocentricCRS(java.lang.String code)
Returns a geocentric coordinate reference system from a code. |
org.opengis.referencing.datum.GeodeticDatum |
createGeodeticDatum(java.lang.String code)
Returns a geodetic datum from a code. |
org.opengis.referencing.crs.GeographicCRS |
createGeographicCRS(java.lang.String code)
Returns a geographic coordinate reference system from a code. |
org.opengis.referencing.crs.ImageCRS |
createImageCRS(java.lang.String code)
Creates a image coordinate reference system from a code. |
org.opengis.referencing.datum.ImageDatum |
createImageDatum(java.lang.String code)
Creates a image datum from a code. |
org.opengis.referencing.IdentifiedObject |
createObject(java.lang.String code)
Returns an arbitrary object from a code. |
org.opengis.referencing.cs.PolarCS |
createPolarCS(java.lang.String code)
Creates a polar coordinate system from a code. |
org.opengis.referencing.datum.PrimeMeridian |
createPrimeMeridian(java.lang.String code)
Returns a prime meridian from a code. |
org.opengis.referencing.crs.ProjectedCRS |
createProjectedCRS(java.lang.String code)
Returns a projected coordinate reference system from a code. |
org.opengis.referencing.cs.SphericalCS |
createSphericalCS(java.lang.String code)
Creates a spherical coordinate system from a code. |
org.opengis.referencing.crs.TemporalCRS |
createTemporalCRS(java.lang.String code)
Creates a temporal coordinate reference system from a code. |
org.opengis.referencing.datum.TemporalDatum |
createTemporalDatum(java.lang.String code)
Creates a temporal datum from a code. |
org.opengis.referencing.cs.TimeCS |
createTimeCS(java.lang.String code)
Creates a temporal coordinate system from a code. |
javax.units.Unit |
createUnit(java.lang.String code)
Returns an unit from a code. |
org.opengis.referencing.crs.VerticalCRS |
createVerticalCRS(java.lang.String code)
Creates a vertical coordinate reference system from a code. |
org.opengis.referencing.cs.VerticalCS |
createVerticalCS(java.lang.String code)
Creates a vertical coordinate system from a code. |
org.opengis.referencing.datum.VerticalDatum |
createVerticalDatum(java.lang.String code)
Creates a vertical datum from a code. |
org.opengis.metadata.citation.Citation |
getAuthority()
Returns the organization or party responsible for definition and maintenance of the database. |
java.util.Set |
getAuthorityCodes(java.lang.Class type)
Returns the set of authority codes of the given type. |
org.opengis.util.InternationalString |
getDescriptionText(java.lang.String code)
Gets a description of the object corresponding to a code. |
| Methods inherited from class org.geotools.referencing.factory.AbstractAuthorityFactory |
createExtent, createOperationMethod, createParameterDescriptor, dispose, getBackingStoreDescription, getImplementationHints, noSuchAuthorityCode, onRegistration, trimAuthority |
| Methods inherited from class org.geotools.referencing.factory.AbstractFactory |
ensureNonNull, getVendor |
| Methods inherited from class org.geotools.factory.AbstractFactory |
onDeregistration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.opengis.referencing.Factory |
getVendor |
| Field Detail |
public static AllAuthoritiesFactory DEFAULT
| Constructor Detail |
public AllAuthoritiesFactory(Hints hints)
hints - An optional set of hints, or if none.
public AllAuthoritiesFactory(Hints hints,
java.util.Collection factories)
FactoryFinder.
hints - An optional set of hints, or if none.factories - A set of user-specified factories to try before to delegate
to FactoryFinder, or if none.
public AllAuthoritiesFactory(Hints hints,
java.util.Collection factories,
char separator)
hints - An optional set of hints, or if none.factories - A set of user-specified factories to try before to delegate
to FactoryFinder, or if none.separator - The separator between the authority name and the code.| Method Detail |
public org.opengis.metadata.citation.Citation getAuthority()
getAuthority in interface org.opengis.referencing.AuthorityFactorygetAuthority in class AbstractAuthorityFactory
public java.util.Set getAuthorityCodes(java.lang.Class type)
throws org.opengis.referencing.FactoryException
type - The spatial reference objects type (may be ).
org.opengis.referencing.FactoryException - if access to the underlying database failed.
public org.opengis.util.InternationalString getDescriptionText(java.lang.String code)
throws org.opengis.referencing.FactoryException
code - Value allocated by authority.
org.opengis.referencing.NoSuchAuthorityCodeException - if the specified was not found.
org.opengis.referencing.FactoryException - if the query failed for some other reason.
public org.opengis.referencing.IdentifiedObject createObject(java.lang.String code)
throws org.opengis.referencing.FactoryException
createObject in interface org.opengis.referencing.AuthorityFactorycreateObject in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createCoordinateReferenceSystem(java.lang.String),
createDatum(java.lang.String),
createEllipsoid(java.lang.String),
createUnit(java.lang.String)
public org.opengis.referencing.datum.Datum createDatum(java.lang.String code)
throws org.opengis.referencing.FactoryException
createDatum in interface org.opengis.referencing.datum.DatumAuthorityFactorycreateDatum in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createGeodeticDatum(java.lang.String),
createVerticalDatum(java.lang.String),
createTemporalDatum(java.lang.String)
public org.opengis.referencing.datum.EngineeringDatum createEngineeringDatum(java.lang.String code)
throws org.opengis.referencing.FactoryException
createEngineeringDatum in interface org.opengis.referencing.datum.DatumAuthorityFactorycreateEngineeringDatum in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createEngineeringCRS(java.lang.String)
public org.opengis.referencing.datum.ImageDatum createImageDatum(java.lang.String code)
throws org.opengis.referencing.FactoryException
createImageDatum in interface org.opengis.referencing.datum.DatumAuthorityFactorycreateImageDatum in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createImageCRS(java.lang.String)
public org.opengis.referencing.datum.VerticalDatum createVerticalDatum(java.lang.String code)
throws org.opengis.referencing.FactoryException
createVerticalDatum in interface org.opengis.referencing.datum.DatumAuthorityFactorycreateVerticalDatum in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createVerticalCRS(java.lang.String)
public org.opengis.referencing.datum.TemporalDatum createTemporalDatum(java.lang.String code)
throws org.opengis.referencing.FactoryException
createTemporalDatum in interface org.opengis.referencing.datum.DatumAuthorityFactorycreateTemporalDatum in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createTemporalCRS(java.lang.String)
public org.opengis.referencing.datum.GeodeticDatum createGeodeticDatum(java.lang.String code)
throws org.opengis.referencing.FactoryException
createGeodeticDatum in interface org.opengis.referencing.datum.DatumAuthorityFactorycreateGeodeticDatum in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createEllipsoid(java.lang.String),
createPrimeMeridian(java.lang.String),
createGeographicCRS(java.lang.String),
createProjectedCRS(java.lang.String)
public org.opengis.referencing.datum.Ellipsoid createEllipsoid(java.lang.String code)
throws org.opengis.referencing.FactoryException
createEllipsoid in interface org.opengis.referencing.datum.DatumAuthorityFactorycreateEllipsoid in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.datum.PrimeMeridian createPrimeMeridian(java.lang.String code)
throws org.opengis.referencing.FactoryException
createPrimeMeridian in interface org.opengis.referencing.datum.DatumAuthorityFactorycreatePrimeMeridian in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.cs.CoordinateSystem createCoordinateSystem(java.lang.String code)
throws org.opengis.referencing.FactoryException
createCoordinateSystem in interface org.opengis.referencing.cs.CSAuthorityFactorycreateCoordinateSystem in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.CartesianCS createCartesianCS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createCartesianCS in interface org.opengis.referencing.cs.CSAuthorityFactorycreateCartesianCS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.PolarCS createPolarCS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createPolarCS in interface org.opengis.referencing.cs.CSAuthorityFactorycreatePolarCS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.CylindricalCS createCylindricalCS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createCylindricalCS in interface org.opengis.referencing.cs.CSAuthorityFactorycreateCylindricalCS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.SphericalCS createSphericalCS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createSphericalCS in interface org.opengis.referencing.cs.CSAuthorityFactorycreateSphericalCS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.EllipsoidalCS createEllipsoidalCS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createEllipsoidalCS in interface org.opengis.referencing.cs.CSAuthorityFactorycreateEllipsoidalCS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.VerticalCS createVerticalCS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createVerticalCS in interface org.opengis.referencing.cs.CSAuthorityFactorycreateVerticalCS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.TimeCS createTimeCS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createTimeCS in interface org.opengis.referencing.cs.CSAuthorityFactorycreateTimeCS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.cs.CoordinateSystemAxis createCoordinateSystemAxis(java.lang.String code)
throws org.opengis.referencing.FactoryException
createCoordinateSystemAxis in interface org.opengis.referencing.cs.CSAuthorityFactorycreateCoordinateSystemAxis in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public javax.units.Unit createUnit(java.lang.String code)
throws org.opengis.referencing.FactoryException
createUnit in interface org.opengis.referencing.cs.CSAuthorityFactorycreateUnit in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(java.lang.String code)
throws org.opengis.referencing.FactoryException
createCoordinateReferenceSystem in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateCoordinateReferenceSystem in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createGeographicCRS(java.lang.String),
createProjectedCRS(java.lang.String),
createVerticalCRS(java.lang.String),
createTemporalCRS(java.lang.String),
createCompoundCRS(java.lang.String)
public org.opengis.referencing.crs.CompoundCRS createCompoundCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createCompoundCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateCompoundCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.crs.DerivedCRS createDerivedCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createDerivedCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateDerivedCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.crs.EngineeringCRS createEngineeringCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createEngineeringCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateEngineeringCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.crs.GeographicCRS createGeographicCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createGeographicCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateGeographicCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.crs.GeocentricCRS createGeocentricCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createGeocentricCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateGeocentricCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.crs.ImageCRS createImageCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createImageCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateImageCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public org.opengis.referencing.crs.ProjectedCRS createProjectedCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createProjectedCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateProjectedCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.crs.TemporalCRS createTemporalCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createTemporalCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateTemporalCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createTemporalDatum(java.lang.String)
public org.opengis.referencing.crs.VerticalCRS createVerticalCRS(java.lang.String code)
throws org.opengis.referencing.FactoryException
createVerticalCRS in interface org.opengis.referencing.crs.CRSAuthorityFactorycreateVerticalCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.createVerticalDatum(java.lang.String)
public org.opengis.referencing.operation.CoordinateOperation createCoordinateOperation(java.lang.String code)
throws org.opengis.referencing.FactoryException
createCoordinateOperation in interface org.opengis.referencing.operation.CoordinateOperationAuthorityFactorycreateCoordinateOperation in class AbstractAuthorityFactorycode - Value allocated by authority.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
public java.util.Set createFromCoordinateReferenceSystemCodes(java.lang.String sourceCode,
java.lang.String targetCode)
throws org.opengis.referencing.FactoryException
createFromCoordinateReferenceSystemCodes in interface org.opengis.referencing.operation.CoordinateOperationAuthorityFactorycreateFromCoordinateReferenceSystemCodes in class AbstractAuthorityFactorysourceCode - Coded value of source coordinate reference system.targetCode - Coded value of target coordinate reference system.
org.opengis.referencing.FactoryException - if the object creation failed for some other reason.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||