edu.ntnu.cikmr.services.context.items
Class Location
java.lang.Object
AbstractContextItem
edu.ntnu.cikmr.services.context.items.Location
public class Location
- extends AbstractContextItem
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Location
public Location()
Location
public Location(java.lang.String urn)
toXML
public java.lang.String toXML()
- Generate a XML-document of this location object
double (y-coordinate)
double (x-coordiate)
double (z-coordiante)
- Returns:
- a String of the XML-document
getElevation
public double getElevation()
getLatitude
public double getLatitude()
getLongitude
public double getLongitude()
getUrn
public java.lang.String getUrn()
setLongitude
public void setLongitude(double longitude)
setLatitude
public void setLatitude(double latitude)
setElevation
public void setElevation(double elevation)
setUrn
public void setUrn(java.lang.String urn)