|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectAbstractFactory
ReferencingFactory
AbstractAuthorityFactory
DirectAuthorityFactory
AutoCRSFactory
org.geotools.referencing.factory.web
package in Geotools 2.5, 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 AutoCRSFactory
The factory for projected CRS in the AUTO and AUTO2
space.
modules/library/referencing (gt2-referencing.jar) (Maven report) (SVN head)| 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 | |
|---|---|
AutoCRSFactory()
Deprecated. Constructs a default factory for the AUTO authority. |
|
AutoCRSFactory(Hints hints)
Deprecated. Constructs a factory for the AUTO 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. |
ProjectedCRS |
createProjectedCRS(String code)
Deprecated. Creates a projected coordinate reference system from the specified code. |
Citation |
getAuthority()
Deprecated. Returns the authority for this factory. |
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 |
|---|
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, createTemporalCRS, createVerticalCRS |
| Methods inherited from interface Factory |
|---|
getVendor |
| Constructor Detail |
|---|
public AutoCRSFactory()
AUTO authority.
public AutoCRSFactory(Hints hints)
AUTO authority using the specified hints.
| Method Detail |
|---|
public Citation getAuthority()
getAuthority in interface AuthorityFactorygetAuthority in class AbstractAuthorityFactory
public Set getAuthorityCodes(Class type)
throws FactoryException
"42001",
"42002", etc. The authority name ("AUTO")
and the lon0,lat0 part are 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 AuthorityFactoryFactoryException
public InternationalString getDescriptionText(String code)
throws FactoryException
getDescriptionText in interface AuthorityFactoryFactoryException
public IdentifiedObject createObject(String code)
throws FactoryException
createCoordinateReferenceSystem(code).
createObject in interface AuthorityFactorycreateObject in class AbstractAuthorityFactorycode - 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
createProjectedCRS(code).
createCoordinateReferenceSystem in interface CRSAuthorityFactorycreateCoordinateReferenceSystem in class AbstractAuthorityFactorycode - 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)
public ProjectedCRS createProjectedCRS(String code)
throws FactoryException
createProjectedCRS in interface CRSAuthorityFactorycreateProjectedCRS in class AbstractAuthorityFactorycode - Value allocated by authority.
NoSuchAuthorityCodeException - if the specified code was not found.
FactoryException - if the object creation failed for some other reason.AbstractAuthorityFactory.createGeodeticDatum(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||