|
||||||||||
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.ReferencingFactory
org.geotools.referencing.factory.AbstractAuthorityFactory
org.geotools.referencing.factory.AuthorityFactoryAdapter
public class AuthorityFactoryAdapter
An authority factory which delegates CRS, CS or datum objects creation to some other factory implementations.
All constructors are protected because this class must be subclassed in order to determine
which of the DatumAuthorityFactory
, CSAuthorityFactory
and
CRSAuthorityFactory
interfaces to implement.
Field Summary |
---|
Fields inherited from class org.geotools.referencing.factory.ReferencingFactory |
---|
LOGGER |
Fields inherited from class org.geotools.factory.AbstractFactory |
---|
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority |
Constructor Summary | |
---|---|
protected |
AuthorityFactoryAdapter(org.opengis.referencing.AuthorityFactory factory)
Creates a wrapper around the specified factory. |
protected |
AuthorityFactoryAdapter(org.opengis.referencing.crs.CRSAuthorityFactory crsFactory,
org.opengis.referencing.cs.CSAuthorityFactory csFactory,
org.opengis.referencing.datum.DatumAuthorityFactory datumFactory,
org.opengis.referencing.operation.CoordinateOperationAuthorityFactory opFactory)
Creates a wrapper around the specified factories. |
protected |
AuthorityFactoryAdapter(java.lang.String authority,
Hints userHints)
Creates a wrappers around the default factories for the specified authority. |
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. |
org.opengis.metadata.extent.Extent |
createExtent(java.lang.String code)
Returns a extent (usually an area of validity) from a code. |
java.util.Set<org.opengis.referencing.operation.CoordinateOperation> |
createFromCoordinateReferenceSystemCodes(java.lang.String sourceCRS,
java.lang.String targetCRS)
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.operation.OperationMethod |
createOperationMethod(java.lang.String code)
Creates an operation method from a code. |
org.opengis.parameter.ParameterDescriptor |
createParameterDescriptor(java.lang.String code)
Creates a parameter descriptor 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.measure.unit.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. |
void |
dispose()
Releases resources immediately instead of waiting for the garbage collector. |
org.opengis.metadata.citation.Citation |
getAuthority()
Returns the organization or party responsible for definition and maintenance of the database. |
java.util.Set<java.lang.String> |
getAuthorityCodes(java.lang.Class<? extends org.opengis.referencing.IdentifiedObject> type)
Returns the set of authority code for the specified type. |
protected org.opengis.referencing.AuthorityFactory |
getAuthorityFactory(java.lang.String code)
Returns a generic object factory to use for the specified code. |
java.lang.String |
getBackingStoreDescription()
Returns a description of the underlying backing store, or null if unknow. |
protected org.opengis.referencing.operation.CoordinateOperationAuthorityFactory |
getCoordinateOperationAuthorityFactory(java.lang.String code)
Returns the coordinate operation factory to use for the specified code. |
protected org.opengis.referencing.crs.CRSAuthorityFactory |
getCRSAuthorityFactory(java.lang.String code)
Returns the coordinate reference system factory to use for the specified code. |
protected org.opengis.referencing.cs.CSAuthorityFactory |
getCSAuthorityFactory(java.lang.String code)
Returns the coordinate system factory to use for the specified code. |
protected org.opengis.referencing.datum.DatumAuthorityFactory |
getDatumAuthorityFactory(java.lang.String code)
Returns the datum factory to use for the specified code. |
org.opengis.util.InternationalString |
getDescriptionText(java.lang.String code)
Returns a description for the object identified by the specified code. |
IdentifiedObjectFinder |
getIdentifiedObjectFinder(java.lang.Class<? extends org.opengis.referencing.IdentifiedObject> type)
Returns a finder which can be used for looking up unidentified objects. |
org.opengis.metadata.citation.Citation |
getVendor()
Returns the vendor responsible for creating this factory implementation. |
boolean |
isAvailable()
Returns true if this factory is ready for use. |
protected java.lang.String |
toBackingFactoryCode(java.lang.String code)
Returns the code to be given to the wrapped factories. |
Methods inherited from class org.geotools.referencing.factory.AbstractAuthorityFactory |
---|
noSuchAuthorityCode, trimAuthority |
Methods inherited from class org.geotools.referencing.factory.ReferencingFactory |
---|
ensureNonNull |
Methods inherited from class org.geotools.factory.AbstractFactory |
---|
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.geotools.factory.Factory |
---|
getImplementationHints |
Constructor Detail |
---|
protected AuthorityFactoryAdapter(org.opengis.referencing.AuthorityFactory factory)
priority
field
will be set to the same value than the specified factory. Subclasses should override
the getPriority()
method if they want to set a higher or lower
priority for this instance.
factory
- The factory to wrap.protected AuthorityFactoryAdapter(org.opengis.referencing.crs.CRSAuthorityFactory crsFactory, org.opengis.referencing.cs.CSAuthorityFactory csFactory, org.opengis.referencing.datum.DatumAuthorityFactory datumFactory, org.opengis.referencing.operation.CoordinateOperationAuthorityFactory opFactory)
priority
field will
be set to the highest priority found in the specified factories. Subclasses should override
the getPriority()
method if they want to set a higher or lower
priority for this instance.
crsFactory
- The coordinate reference system
authority factory, or null
.csFactory
- The coordinate system authority factory,
or null
.datumFactory
- The datum authority factory, or null
.opFactory
- The coordinate operation authority
factory, or null
.protected AuthorityFactoryAdapter(java.lang.String authority, Hints userHints) throws FactoryRegistryException
ReferencingFactoryFinder
.
authority
- The authority to wraps (example: "EPSG"
). If null
,
then all authority factories must be explicitly specified in the
set of hints.userHints
- An optional set of hints, or null
if none.
FactoryRegistryException
- if at least one factory can not be obtained.Method Detail |
---|
public boolean isAvailable()
true
if this factory is ready for use. This default implementation
checks the availability of CRS, CS, datum and operation authority factories specified
at construction time.
isAvailable
in interface OptionalFactory
true
if this factory is ready for use.public java.lang.String getBackingStoreDescription() throws org.opengis.referencing.FactoryException
null
if unknow.
getBackingStoreDescription
in class AbstractAuthorityFactory
null
.
org.opengis.referencing.FactoryException
- if a failure occured while fetching the engine description.public org.opengis.metadata.citation.Citation getVendor()
getVendor
in class ReferencingFactory
public org.opengis.metadata.citation.Citation getAuthority()
getAuthority
in interface org.opengis.referencing.AuthorityFactory
getAuthority
in class AbstractAuthorityFactory
public java.util.Set<java.lang.String> getAuthorityCodes(java.lang.Class<? extends org.opengis.referencing.IdentifiedObject> type) throws org.opengis.referencing.FactoryException
getAuthorityCodes
in interface org.opengis.referencing.AuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.util.InternationalString getDescriptionText(java.lang.String code) throws org.opengis.referencing.FactoryException
getDescriptionText
in interface org.opengis.referencing.AuthorityFactory
org.opengis.referencing.FactoryException
public org.opengis.referencing.IdentifiedObject createObject(java.lang.String code) throws org.opengis.referencing.FactoryException
createObject
in interface org.opengis.referencing.AuthorityFactory
createObject
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.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 class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.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 class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.createEngineeringCRS(java.lang.String)
public org.opengis.referencing.datum.ImageDatum createImageDatum(java.lang.String code) throws org.opengis.referencing.FactoryException
createImageDatum
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.createImageCRS(java.lang.String)
public org.opengis.referencing.datum.VerticalDatum createVerticalDatum(java.lang.String code) throws org.opengis.referencing.FactoryException
createVerticalDatum
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.createVerticalCRS(java.lang.String)
public org.opengis.referencing.datum.TemporalDatum createTemporalDatum(java.lang.String code) throws org.opengis.referencing.FactoryException
createTemporalDatum
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.createTemporalCRS(java.lang.String)
public org.opengis.referencing.datum.GeodeticDatum createGeodeticDatum(java.lang.String code) throws org.opengis.referencing.FactoryException
createGeodeticDatum
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.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 class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.datum.PrimeMeridian createPrimeMeridian(java.lang.String code) throws org.opengis.referencing.FactoryException
createPrimeMeridian
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.createGeodeticDatum(java.lang.String)
public org.opengis.metadata.extent.Extent createExtent(java.lang.String code) throws org.opengis.referencing.FactoryException
createExtent
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.CoordinateSystem createCoordinateSystem(java.lang.String code) throws org.opengis.referencing.FactoryException
createCoordinateSystem
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.CartesianCS createCartesianCS(java.lang.String code) throws org.opengis.referencing.FactoryException
createCartesianCS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.PolarCS createPolarCS(java.lang.String code) throws org.opengis.referencing.FactoryException
createPolarCS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.CylindricalCS createCylindricalCS(java.lang.String code) throws org.opengis.referencing.FactoryException
createCylindricalCS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.SphericalCS createSphericalCS(java.lang.String code) throws org.opengis.referencing.FactoryException
createSphericalCS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.EllipsoidalCS createEllipsoidalCS(java.lang.String code) throws org.opengis.referencing.FactoryException
createEllipsoidalCS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.VerticalCS createVerticalCS(java.lang.String code) throws org.opengis.referencing.FactoryException
createVerticalCS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.TimeCS createTimeCS(java.lang.String code) throws org.opengis.referencing.FactoryException
createTimeCS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.cs.CoordinateSystemAxis createCoordinateSystemAxis(java.lang.String code) throws org.opengis.referencing.FactoryException
createCoordinateSystemAxis
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public javax.measure.unit.Unit<?> createUnit(java.lang.String code) throws org.opengis.referencing.FactoryException
createUnit
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(java.lang.String code) throws org.opengis.referencing.FactoryException
createCoordinateReferenceSystem
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.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 class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.crs.DerivedCRS createDerivedCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createDerivedCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.crs.EngineeringCRS createEngineeringCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createEngineeringCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.crs.GeographicCRS createGeographicCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createGeographicCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.AbstractAuthorityFactory.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.crs.GeocentricCRS createGeocentricCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createGeocentricCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.AbstractAuthorityFactory.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.crs.ImageCRS createImageCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createImageCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.crs.ProjectedCRS createProjectedCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createProjectedCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.AbstractAuthorityFactory.createGeodeticDatum(java.lang.String)
public org.opengis.referencing.crs.TemporalCRS createTemporalCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createTemporalCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.AbstractAuthorityFactory.createTemporalDatum(java.lang.String)
public org.opengis.referencing.crs.VerticalCRS createVerticalCRS(java.lang.String code) throws org.opengis.referencing.FactoryException
createVerticalCRS
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.AbstractAuthorityFactory.createVerticalDatum(java.lang.String)
public org.opengis.parameter.ParameterDescriptor createParameterDescriptor(java.lang.String code) throws org.opengis.referencing.FactoryException
createParameterDescriptor
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.operation.OperationMethod createOperationMethod(java.lang.String code) throws org.opengis.referencing.FactoryException
createOperationMethod
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public org.opengis.referencing.operation.CoordinateOperation createCoordinateOperation(java.lang.String code) throws org.opengis.referencing.FactoryException
createCoordinateOperation
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.FactoryException
- if the object creation failed.public java.util.Set<org.opengis.referencing.operation.CoordinateOperation> createFromCoordinateReferenceSystemCodes(java.lang.String sourceCRS, java.lang.String targetCRS) throws org.opengis.referencing.FactoryException
createFromCoordinateReferenceSystemCodes
in class AbstractAuthorityFactory
sourceCRS
- Coded value of source coordinate reference system.targetCRS
- Coded value of target coordinate reference system.
sourceCRS
to targetCRS
.
org.opengis.referencing.FactoryException
- if the object creation failed.public IdentifiedObjectFinder getIdentifiedObjectFinder(java.lang.Class<? extends org.opengis.referencing.IdentifiedObject> type) throws org.opengis.referencing.FactoryException
getIdentifiedObjectFinder
in class AbstractAuthorityFactory
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.
org.opengis.referencing.FactoryException
- if the object creation failed.protected org.opengis.referencing.AuthorityFactory getAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
Note: The value of the code
argument given to this
method may be null
when a factory is needed for some global task,
like getAuthorityCodes(java.lang.Class extends org.opengis.referencing.IdentifiedObject>)
method execution.
code
- The authority code given to this class. Note that the code to be given
to the returned factory may be different.
null
).
org.opengis.referencing.FactoryException
- if no suitable factory were found.protected org.opengis.referencing.datum.DatumAuthorityFactory getDatumAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
code
- The authority code given to this class. Note that the code to be given
to the returned factory may be different.
null
).
org.opengis.referencing.FactoryException
- if no datum factory were specified at construction time.protected org.opengis.referencing.cs.CSAuthorityFactory getCSAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
code
- The authority code given to this class. Note that the code to be given
to the returned factory may be different.
null
).
org.opengis.referencing.FactoryException
- if no coordinate system factory were specified at construction time.protected org.opengis.referencing.crs.CRSAuthorityFactory getCRSAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
code
- The authority code given to this class. Note that the code to be given
to the returned factory may be different.
null
).
org.opengis.referencing.FactoryException
- if no coordinate reference system factory were specified
at construction time.protected org.opengis.referencing.operation.CoordinateOperationAuthorityFactory getCoordinateOperationAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
code
- The authority code given to this class. Note that the code to be given
to the returned factory may be different.
null
).
org.opengis.referencing.FactoryException
- if no coordinate operation factory were specified
at construction time.protected java.lang.String toBackingFactoryCode(java.lang.String code) throws org.opengis.referencing.FactoryException
create
methods before to forward the code to the
CRS, CS,
datum or operation
factory. The default implementation returns the code
unchanged.
code
- The code given to this factory.
org.opengis.referencing.FactoryException
- if the code can't be converted.public void dispose() throws org.opengis.referencing.FactoryException
AbstractAuthorityFactory
create(...)
invocations
may throw a FactoryException
. Disposing a previously-disposed factory,
however, has no effect.
dispose
in class AbstractAuthorityFactory
org.opengis.referencing.FactoryException
- if an error occured while disposing the factory.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |