|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.model.cs.CoordinateSystemAuthorityFactory
Creates spatial reference objects using codes. The codes are maintained by an external authority. A commonly used authority is EPSG, which is also used in the GeoTIFF standard.
CS_CoordinateSystemAuthorityFactory| Field Summary | |
protected CoordinateSystemFactory |
factory
The underlying factory used for objects creation. |
| Constructor Summary | |
CoordinateSystemAuthorityFactory(CoordinateSystemFactory factory)
Construct an authority factory using the specified coordinate system factory. |
|
| Method Summary | |
Ellipsoid |
createEllipsoid(java.lang.String code)
Returns an Ellipsoid object from a code. |
Unit |
createUnit(java.lang.String code)
Returns a Unit object from a code. |
abstract java.lang.String |
getAuthority()
Returns the authority name. |
(package private) void |
setProperties(Info info,
java.lang.String code,
java.lang.String alias,
java.lang.String abbreviation,
java.lang.String remarks)
Set the properties fon an Info object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected final CoordinateSystemFactory factory
| Constructor Detail |
public CoordinateSystemAuthorityFactory(CoordinateSystemFactory factory)
factory - The underlying factory used for objects creation.| Method Detail |
public abstract java.lang.String getAuthority()
public Ellipsoid createEllipsoid(java.lang.String code)
throws java.util.NoSuchElementException
Ellipsoid object from a code.
code - Value allocated by authority.
java.util.NoSuchElementException - if this method can't find the requested code.
public Unit createUnit(java.lang.String code)
throws java.util.NoSuchElementException
Unit object from a code.
code - Value allocated by authority.
java.util.NoSuchElementException - if this method can't find the requested code.
final void setProperties(Info info,
java.lang.String code,
java.lang.String alias,
java.lang.String abbreviation,
java.lang.String remarks)
Info object. This method
should be invoked from all create* methods.
info - The Info object to set properties.code - The authority code (must not be null).alias - The alias, or null if none.abbreviation - The abbreviation, or null if none.remarks - The remarks, or null if none.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||