|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractFactory
ReferencingFactory
AbstractAuthorityFactory
DirectAuthorityFactory
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 DirectAuthorityFactory |
---|
factories |
Fields inherited from class ReferencingFactory |
---|
LOGGER |
Fields inherited from class 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 | |
---|---|
CoordinateReferenceSystem |
createCoordinateReferenceSystem(String code)
Deprecated. Creates a coordinate reference system from the specified code. |
IdentifiedObject |
createObject(String code)
Deprecated. Creates an object from the specified code. |
Citation |
getAuthority()
Deprecated. Returns the authority for this factory, which is CRS . |
Set |
getAuthorityCodes(Class type)
Deprecated. Provides a complete set of the known codes provided by this authority. |
InternationalString |
getDescriptionText(String code)
Deprecated. Returns the CRS name for the given code. |
Methods inherited from class DirectAuthorityFactory |
---|
getImplementationHints |
Methods inherited from class ReferencingFactory |
---|
ensureNonNull, getVendor |
Methods inherited from class AbstractFactory |
---|
addImplementationHints, equals, getPriority, hashCode, onDeregistration, onRegistration, toString |
Methods inherited from class Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface CRSAuthorityFactory |
---|
createCompoundCRS, createDerivedCRS, createEngineeringCRS, createGeocentricCRS, createGeographicCRS, createImageCRS, createProjectedCRS, createTemporalCRS, createVerticalCRS |
Methods inherited from interface Factory |
---|
getVendor |
Constructor Detail |
---|
public WebCRSFactory()
CRS
authority.
public WebCRSFactory(Hints hints)
CRS
authority using the specified hints.
Method Detail |
---|
public Citation getAuthority()
CRS
.
getAuthority
in interface AuthorityFactory
getAuthority
in class AbstractAuthorityFactory
public Set getAuthorityCodes(Class type) throws 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 AuthorityFactory
FactoryException
public InternationalString getDescriptionText(String code) throws FactoryException
getDescriptionText
in interface AuthorityFactory
FactoryException
public IdentifiedObject createObject(String code) throws FactoryException
createCoordinateReferenceSystem(code)
.
createObject
in interface AuthorityFactory
createObject
in class AbstractAuthorityFactory
code
- Value allocated by authority.
NoSuchAuthorityCodeException
- if the specified code
was not found.
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 CoordinateReferenceSystem createCoordinateReferenceSystem(String code) throws FactoryException
createCoordinateReferenceSystem
in interface CRSAuthorityFactory
createCoordinateReferenceSystem
in class AbstractAuthorityFactory
code
- Value allocated by authority.
NoSuchAuthorityCodeException
- if the specified code
was not found.
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 |