|
||||||||||
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
org.geotools.referencing.factory.URN_AuthorityFactory
org.geotools.referencing.factory.web
package in Geotools 2.5, in order to put together other web-related factories.
Don't use this class directly. You should not need to anyway - use
ReferencingFactoryFinder
instead, which will
continue to work no matter where this class is located.
public class URN_AuthorityFactory
Wraps all factories in a "urn:ogc:def"
name space. An exemple 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
.
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 | |
---|---|
URN_AuthorityFactory()
Deprecated. Creates a default wrapper. |
|
URN_AuthorityFactory(AllAuthoritiesFactory factory)
Deprecated. Creates a wrapper around the specified factory. |
|
URN_AuthorityFactory(Hints userHints)
Deprecated. Creates a wrapper using the specified hints. |
Method Summary | |
---|---|
protected org.opengis.referencing.AuthorityFactory |
createVersionedFactory(Version version)
Deprecated. Invoked when a factory is requested for a specific version. |
org.opengis.metadata.citation.Citation |
getAuthority()
Deprecated. Returns the authority, which contains "urn:ogc:def" and "urn:x-ogc:def"
identifiers. |
protected org.opengis.referencing.AuthorityFactory |
getAuthorityFactory(java.lang.String code)
Deprecated. Returns an object factory for the specified code. |
protected org.opengis.referencing.operation.CoordinateOperationAuthorityFactory |
getCoordinateOperationAuthorityFactory(java.lang.String code)
Deprecated. Returns the coordinate operation factory to use for the specified URN. |
protected org.opengis.referencing.crs.CRSAuthorityFactory |
getCRSAuthorityFactory(java.lang.String code)
Deprecated. Returns the coordinate reference system factory to use for the specified URN. |
protected org.opengis.referencing.cs.CSAuthorityFactory |
getCSAuthorityFactory(java.lang.String code)
Deprecated. Returns the coordinate system factory to use for the specified URN. |
protected org.opengis.referencing.datum.DatumAuthorityFactory |
getDatumAuthorityFactory(java.lang.String code)
Deprecated. Returns the datum factory to use for the specified URN. |
protected java.lang.String |
toBackingFactoryCode(java.lang.String code)
Deprecated. Removes the URN base ( "urn:ogc:def" ) from the specified code
before to pass it 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.opengis.referencing.crs.CRSAuthorityFactory |
---|
createCompoundCRS, createCoordinateReferenceSystem, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS |
Methods inherited from interface org.opengis.referencing.cs.CSAuthorityFactory |
---|
createCartesianCS, createCoordinateSystem, createCoordinateSystemAxis, createCylindricalCS, createEllipsoidalCS, createPolarCS, createSphericalCS, createTimeCS, createUnit, createVerticalCS |
Methods inherited from interface org.opengis.referencing.datum.DatumAuthorityFactory |
---|
createDatum, createEllipsoid, createEngineeringDatum, createGeodeticDatum, createImageDatum, createPrimeMeridian, createTemporalDatum, createVerticalDatum |
Methods inherited from interface org.opengis.referencing.operation.CoordinateOperationAuthorityFactory |
---|
createCoordinateOperation, createFromCoordinateReferenceSystemCodes |
Methods inherited from interface org.opengis.referencing.AuthorityFactory |
---|
createObject, getAuthorityCodes, getDescriptionText |
Methods inherited from interface org.opengis.referencing.Factory |
---|
getVendor |
Methods inherited from interface org.geotools.factory.Factory |
---|
getImplementationHints |
Constructor Detail |
---|
public URN_AuthorityFactory()
public URN_AuthorityFactory(Hints userHints)
"urn:ogc:def"
namespace, the supplied hints should contains at least the
FORCE_LONGITUDE_FIRST_AXIS_ORDER
hint
with value FALSE
.
userHints
- The hints to be given to backing factories.public URN_AuthorityFactory(AllAuthoritiesFactory factory)
Method Detail |
---|
public org.opengis.metadata.citation.Citation getAuthority()
"urn:ogc:def"
and "urn:x-ogc:def"
identifiers.
getAuthority
in interface org.opengis.referencing.AuthorityFactory
getAuthority
in class AuthorityFactoryAdapter
protected org.opengis.referencing.AuthorityFactory getAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
get
TypeAuthorityFactory
methods where
Type is inferred from the code.
getAuthorityFactory
in class AuthorityFactoryAdapter
code
- The authority code given to this class.
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
createVersionedFactory(org.geotools.util.Version)
method may be invoked for that purpose. If no factory
is provided for that specific version, then the
default one is used.
getDatumAuthorityFactory
in class AuthorityFactoryAdapter
code
- The URN given to this class.
null
).
org.opengis.referencing.FactoryException
- if no datum factory is available.protected org.opengis.referencing.cs.CSAuthorityFactory getCSAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
createVersionedFactory(org.geotools.util.Version)
method may be invoked for that purpose. If no factory
is provided for that specific version, then the
default one is used.
getCSAuthorityFactory
in class AuthorityFactoryAdapter
code
- The URN given to this class.
null
).
org.opengis.referencing.FactoryException
- if no coordinate system factory is available.protected org.opengis.referencing.crs.CRSAuthorityFactory getCRSAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
createVersionedFactory(org.geotools.util.Version)
method may be
invoked for that purpose. If no factory is provided for that specific version, then
the default one is used.
getCRSAuthorityFactory
in class AuthorityFactoryAdapter
code
- The URN given to this class.
null
).
org.opengis.referencing.FactoryException
- if no coordinate reference system factory is available.protected org.opengis.referencing.operation.CoordinateOperationAuthorityFactory getCoordinateOperationAuthorityFactory(java.lang.String code) throws org.opengis.referencing.FactoryException
createVersionedFactory(org.geotools.util.Version)
method may be invoked for
that purpose. If no factory is provided for that specific version, then the
default one
is used.
getCoordinateOperationAuthorityFactory
in class AuthorityFactoryAdapter
code
- The URN given to this class.
null
).
org.opengis.referencing.FactoryException
- if no coordinate operation factory is available.protected org.opengis.referencing.AuthorityFactory createVersionedFactory(Version version) throws org.opengis.referencing.FactoryException
null
if
no such factory is available. In the later case, this class will fallback on the factory
specified at construction time.
version
- The version for the factory to create.
null
if there is none for the specified version.
org.opengis.referencing.FactoryException
- if an error occured while creating the factory.protected java.lang.String toBackingFactoryCode(java.lang.String code) throws org.opengis.referencing.FactoryException
"urn:ogc:def"
) from the specified code
before to pass it to the wrapped factories.
toBackingFactoryCode
in class AuthorityFactoryAdapter
code
- The code given to this factory.
org.opengis.referencing.FactoryException
- if the code can't be converted.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |