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()
NamedElement
getElementName
in interface NamedElement
public CharSequence toXML(String enclosingNamespace)
Element
public String getNamespace()
ExtensionElement
getNamespace
in interface ExtensionElement
public static GeoLocation.Builder builder()
public static GeoLocation from(Message message)