public class CivicLocationElement extends ANQPElement
Modifier and Type | Class and Description |
---|---|
static class |
CivicLocationElement.CAType |
static class |
CivicLocationElement.LocationType |
Modifier and Type | Field and Description |
---|---|
static int |
ADDITIONAL_CODE |
static int |
ADDITIONAL_LOCATION |
static int |
BLOCK |
static int |
BRANCH_ROAD |
static int |
BUILDING |
static int |
CITY |
static int |
COUNTY_DISTRICT |
static int |
DIVISION_BOROUGH |
static int |
FLOOR |
static int |
HOUSE_NUMBER |
static int |
HOUSE_NUMBER_SUFFIX |
static int |
LANDMARK |
static int |
LANGUAGE |
static int |
LEADING_STREET_SUFFIX |
static int |
NAME |
static int |
PO_BOX |
static int |
POSTAL_COMMUNITY |
static int |
POSTAL_ZIP |
static int |
PRIMARY_ROAD |
static int |
RESERVED |
static int |
ROAD_SECTION |
static int |
ROOM |
static int |
SCRIPT |
static int |
SEAT_DESK |
static int |
STATE_PROVINCE |
static int |
STREET_DIRECTION |
static int |
STREET_GROUP |
static int |
STREET_NAME_POST_MOD |
static int |
STREET_NAME_PRE_MOD |
static int |
STREET_SUFFIX |
static int |
SUB_BRANCH_ROAD |
static int |
TYPE |
static int |
UNIT |
Constructor and Description |
---|
CivicLocationElement(Constants.ANQPElementType infoID,
ByteBuffer payload) |
Modifier and Type | Method and Description |
---|---|
Locale |
getLocale() |
CivicLocationElement.LocationType |
getLocationType() |
Map<CivicLocationElement.CAType,String> |
getValues() |
String |
toString()
Returns a string representation of the object.
|
getID
public static final int LANGUAGE
public static final int STATE_PROVINCE
public static final int COUNTY_DISTRICT
public static final int CITY
public static final int DIVISION_BOROUGH
public static final int BLOCK
public static final int STREET_GROUP
public static final int STREET_DIRECTION
public static final int LEADING_STREET_SUFFIX
public static final int STREET_SUFFIX
public static final int HOUSE_NUMBER
public static final int HOUSE_NUMBER_SUFFIX
public static final int LANDMARK
public static final int ADDITIONAL_LOCATION
public static final int NAME
public static final int POSTAL_ZIP
public static final int BUILDING
public static final int UNIT
public static final int FLOOR
public static final int ROOM
public static final int TYPE
public static final int POSTAL_COMMUNITY
public static final int PO_BOX
public static final int ADDITIONAL_CODE
public static final int SEAT_DESK
public static final int PRIMARY_ROAD
public static final int ROAD_SECTION
public static final int BRANCH_ROAD
public static final int SUB_BRANCH_ROAD
public static final int STREET_NAME_PRE_MOD
public static final int STREET_NAME_POST_MOD
public static final int SCRIPT
public static final int RESERVED
public CivicLocationElement(Constants.ANQPElementType infoID, ByteBuffer payload) throws ProtocolException
ProtocolException
public CivicLocationElement.LocationType getLocationType()
public Locale getLocale()
public Map<CivicLocationElement.CAType,String> getValues()
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())