|
||||||||||
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.DirectAuthorityFactory
org.geotools.referencing.factory.wms.WebCRSFactory
org.geotools.referencing.factory.web
package in a future Geotools version, in order to put together other web-related factories defined
outside the WMS specification. 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 WebCRSFactory
The factory for coordinate reference systems
in the CRS
space.
Field Summary |
---|
Fields inherited from class org.geotools.referencing.factory.DirectAuthorityFactory |
---|
factories |
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 | |
---|---|
WebCRSFactory()
Deprecated. Constructs a default factory for the CRS authority. |
|
WebCRSFactory(Hints hints)
Deprecated. Constructs a factory for the CRS authority using the specified hints. |
Method Summary | |
---|---|
org.opengis.referencing.crs.CoordinateReferenceSystem |
createCoordinateReferenceSystem(java.lang.String code)
Deprecated. Creates a coordinate reference system from the specified code. |
org.opengis.referencing.IdentifiedObject |
createObject(java.lang.String code)
Deprecated. Creates an object from the specified code. |
org.opengis.metadata.citation.Citation |
getAuthority()
Deprecated. Returns the authority for this factory, which is CRS . |
java.util.Set |
getAuthorityCodes(java.lang.Class type)
Deprecated. Provides a complete set of the known codes provided by this authority. |
org.opengis.util.InternationalString |
getDescriptionText(java.lang.String code)
Deprecated. Returns the CRS name for the given code. |
Methods inherited from class org.geotools.referencing.factory.DirectAuthorityFactory |
---|
getImplementationHints |
Methods inherited from class org.geotools.referencing.factory.ReferencingFactory |
---|
ensureNonNull, getVendor |
Methods inherited from class org.geotools.factory.AbstractFactory |
---|
addImplementationHints, equals, 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, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS |
Methods inherited from interface org.opengis.referencing.Factory |
---|
getVendor |
Constructor Detail |
---|
public WebCRSFactory()
CRS
authority.
public WebCRSFactory(Hints hints)
CRS
authority using the specified hints.
Method Detail |
---|
public org.opengis.metadata.citation.Citation getAuthority()
CRS
.
getAuthority
in interface org.opengis.referencing.AuthorityFactory
getAuthority
in class AbstractAuthorityFactory
public java.util.Set getAuthorityCodes(java.lang.Class type) throws org.opengis.referencing.FactoryException
"84"
, "27"
, etc.
The authority name ("CRS"
) is not included. This is consistent with the
codes returned by the EPSG factory and avoid duplication, since the authority is the
same for every codes returned by this factory. It also make it easier for clients to
prepend whatever authority name they wish, as for example in the
all authorities factory.
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
createCoordinateReferenceSystem(code)
.
createObject
in interface org.opengis.referencing.AuthorityFactory
createObject
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.NoSuchAuthorityCodeException
- if the specified code
was not found.
org.opengis.referencing.FactoryException
- if the object creation failed for some other reason.AbstractAuthorityFactory.createCoordinateReferenceSystem(java.lang.String)
,
AbstractAuthorityFactory.createDatum(java.lang.String)
,
AbstractAuthorityFactory.createEllipsoid(java.lang.String)
,
AbstractAuthorityFactory.createUnit(java.lang.String)
public org.opengis.referencing.crs.CoordinateReferenceSystem createCoordinateReferenceSystem(java.lang.String code) throws org.opengis.referencing.FactoryException
createCoordinateReferenceSystem
in interface org.opengis.referencing.crs.CRSAuthorityFactory
createCoordinateReferenceSystem
in class AbstractAuthorityFactory
code
- Value allocated by authority.
org.opengis.referencing.NoSuchAuthorityCodeException
- if the specified code
was not found.
org.opengis.referencing.FactoryException
- if the object creation failed for some other reason.AbstractAuthorityFactory.createGeographicCRS(java.lang.String)
,
AbstractAuthorityFactory.createProjectedCRS(java.lang.String)
,
AbstractAuthorityFactory.createVerticalCRS(java.lang.String)
,
AbstractAuthorityFactory.createTemporalCRS(java.lang.String)
,
AbstractAuthorityFactory.createCompoundCRS(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |