public final class GeoLocation extends Object implements Serializable, ExtensionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoLocation.Builder |
| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT |
static String |
NAMESPACE |
| Modifier and Type | Method and Description |
|---|---|
static GeoLocation.Builder |
builder() |
static GeoLocation |
from(Message message) |
Double |
getAccuracy() |
Double |
getAlt() |
Double |
getAltAccuracy() |
String |
getArea() |
Double |
getBearing() |
String |
getBuilding() |
String |
getCountry() |
String |
getCountryCode() |
String |
getDatum() |
String |
getDescription() |
String |
getElementName()
Returns the root element name.
|
Double |
getError() |
String |
getFloor() |
Double |
getLat() |
String |
getLocality() |
Double |
getLon() |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
getPostalcode() |
String |
getRegion() |
String |
getRoom() |
Double |
getSpeed() |
String |
getStreet() |
String |
getText() |
Date |
getTimestamp() |
String |
getTzo() |
URI |
getUri() |
CharSequence |
toXML(String enclosingNamespace)
Returns the XML representation of this Element.
|
public static final String NAMESPACE
public static final String ELEMENT
public Double getAccuracy()
public Double getAltAccuracy()
public Double getBearing()
public String getBuilding()
public String getCountry()
public String getCountryCode()
public String getDescription()
public String getLocality()
public String getPostalcode()
public Date getTimestamp()
public String getElementName()
NamedElementgetElementName in interface NamedElementpublic CharSequence toXML(String enclosingNamespace)
Elementpublic String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic static GeoLocation.Builder builder()
public static GeoLocation from(Message message)