|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opengts.geocoder.ReverseGeocode
public class ReverseGeocode
Field Summary | |
---|---|
static java.lang.String |
COUNTRY_US
|
static java.lang.String |
COUNTRY_US_
|
static java.lang.String |
REQ_RGLength
|
static java.lang.String |
REQ_RGSignature
|
static java.lang.String |
SUBDIVISION_SEPARATOR
|
static java.lang.String[] |
TAG_City
|
static java.lang.String[] |
TAG_CountryCode
|
static java.lang.String[] |
TAG_FullAddress
|
static java.lang.String[] |
TAG_Latitude
|
static java.lang.String[] |
TAG_Longitude
|
static java.lang.String[] |
TAG_PostalCode
|
static java.lang.String[] |
TAG_Provider
|
static java.lang.String[] |
TAG_SpeedLimit
|
static java.lang.String[] |
TAG_StateProvince
|
static java.lang.String[] |
TAG_StreetAddress
|
static java.lang.String[] |
TAG_Subdivision
|
static java.lang.String[] |
TAG_TollRoad
|
Constructor Summary | |
---|---|
ReverseGeocode()
Default constructor |
|
ReverseGeocode(JSON._Object jsonObj)
JSON constructor |
|
ReverseGeocode(JSON json)
JSON constructor |
Method Summary | |
---|---|
java.lang.String |
getCity()
Gets the city |
java.lang.String |
getCountryCode()
Gets the country code |
java.lang.String |
getFullAddress()
Gets the full address |
boolean |
getIsTollRoad()
Gets the toll-road state |
java.lang.String |
getPostalCode()
Gets the postal code |
double |
getSpeedLimitKPH()
Gets the speed limit at the reverse-geocoded location |
java.lang.String |
getStateProvince()
Gets the state/province |
java.lang.String |
getStreetAddress()
Gets the street address |
java.lang.String |
getSubdivision()
Gets the country/state subdivision |
boolean |
hasCity()
Returns true if the city is defined |
boolean |
hasCountryCode()
Returns true if the country is defined |
boolean |
hasFullAddress()
Returns true if the full address is defined |
boolean |
hasIsTollRoad()
Returns true if the toll-road state is defined |
boolean |
hasPostalCode()
Returns true if the postal code is defined |
boolean |
hasSpeedLimitKPH()
Returns true if the speed limit is defined |
boolean |
hasStateProvince()
Returns true if the state/province is defined |
boolean |
hasStreetAddress()
Returns true if the street address is defined |
boolean |
hasSubdivision()
Returns true if the country/state subdivision is defined |
static void |
main(java.lang.String[] argv)
|
void |
setCity(java.lang.String city)
Sets the city |
void |
setCountryCode(java.lang.String countryCode)
Sets the country code |
void |
setFullAddress(java.lang.String address)
Sets the full address |
void |
setIsTollRoad(boolean tollRoad)
Sets the toll-road state |
void |
setIsTollRoad(int tollRoadState)
Sets the toll-road state |
void |
setPostalCode(java.lang.String zip)
Sets the postal code |
void |
setSpeedLimitKPH(double limitKPH)
Sets the speed limit at the reverse-geocoded location |
void |
setStateProvince(java.lang.String state)
Sets the state/province |
void |
setStreetAddress(java.lang.String address)
Sets the street address |
void |
setSubdivision(java.lang.String subdiv)
Sets the country/state subdivision |
JSON |
toJSON()
Returns a JSON String containing this ReverseGeocode information |
JSON |
toJSON(boolean longFmt)
Returns a JSON String containing this ReverseGeocode information |
java.lang.String |
toString()
Returns a String representation of this instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COUNTRY_US
public static final java.lang.String SUBDIVISION_SEPARATOR
public static final java.lang.String COUNTRY_US_
public static final java.lang.String[] TAG_Provider
public static final java.lang.String[] TAG_Latitude
public static final java.lang.String[] TAG_Longitude
public static final java.lang.String[] TAG_FullAddress
public static final java.lang.String[] TAG_StreetAddress
public static final java.lang.String[] TAG_City
public static final java.lang.String[] TAG_StateProvince
public static final java.lang.String[] TAG_PostalCode
public static final java.lang.String[] TAG_CountryCode
public static final java.lang.String[] TAG_Subdivision
public static final java.lang.String[] TAG_SpeedLimit
public static final java.lang.String[] TAG_TollRoad
public static final java.lang.String REQ_RGLength
public static final java.lang.String REQ_RGSignature
Constructor Detail |
---|
public ReverseGeocode()
public ReverseGeocode(JSON._Object jsonObj)
public ReverseGeocode(JSON json)
Method Detail |
---|
public void setFullAddress(java.lang.String address)
public java.lang.String getFullAddress()
public boolean hasFullAddress()
public void setStreetAddress(java.lang.String address)
public java.lang.String getStreetAddress()
public boolean hasStreetAddress()
public void setCity(java.lang.String city)
public java.lang.String getCity()
public boolean hasCity()
public void setStateProvince(java.lang.String state)
public java.lang.String getStateProvince()
public boolean hasStateProvince()
public void setPostalCode(java.lang.String zip)
public java.lang.String getPostalCode()
public boolean hasPostalCode()
public void setCountryCode(java.lang.String countryCode)
public java.lang.String getCountryCode()
public boolean hasCountryCode()
public void setSubdivision(java.lang.String subdiv)
public java.lang.String getSubdivision()
public boolean hasSubdivision()
public void setSpeedLimitKPH(double limitKPH)
public double getSpeedLimitKPH()
public boolean hasSpeedLimitKPH()
public void setIsTollRoad(int tollRoadState)
public void setIsTollRoad(boolean tollRoad)
public boolean getIsTollRoad()
public boolean hasIsTollRoad()
public java.lang.String toString()
toString
in class java.lang.Object
public JSON toJSON()
public JSON toJSON(boolean longFmt)
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |