|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectebgeo.maprequest.cs.MRDatum
Class to model a map datum. e.g. WGS84.
Nested Class Summary | |
class |
MRDatum.DatumFileFilter
Helper class to find *_datum.txt files. |
Field Summary | |
protected boolean |
known
|
protected String |
wkt
|
Constructor Summary | |
MRDatum()
Creates a new instance of MRDatum |
Method Summary | |
MRDatum |
getInstance(String name)
Get a datum for a name. |
String |
getName()
Get the well known name of this datum. |
String |
getName(String realm)
Get the name of this datum in a particular realm. |
String |
getWkt()
Get the Open GIS Well Known Text format of this datum. |
boolean |
isKnown()
Check if this datum is known. |
protected void |
setKnown(boolean known)
|
void |
setName(String name)
Set the well known name for this datum. |
void |
setName(String name,
String realm)
Set the name for this datum for a particular realm. |
void |
setWkt(String wkt)
Set the Open GIS Well Known Text format for this projection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected String wkt
protected boolean known
Constructor Detail |
public MRDatum()
Method Detail |
public MRDatum getInstance(String name)
isKnown()
will return false.
public String getName()
public String getName(String realm)
realm
- The realm for which you want to know the name of this
datum.
getName()
public void setName(String name)
public void setName(String name, String realm)
name
- The name that this datum is known by for the realm.realm
- The realm.public String getWkt()
public void setWkt(String wkt)
public boolean isKnown()
protected void setKnown(boolean known)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |