final class PlaceJSONImpl extends TwitterResponseImpl implements Place, java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private GeoLocation[][] |
boundingBoxCoordinates |
private java.lang.String |
boundingBoxType |
private Place[] |
containedWithIn |
private java.lang.String |
country |
private java.lang.String |
countryCode |
private java.lang.String |
fullName |
private GeoLocation[][] |
geometryCoordinates |
private java.lang.String |
geometryType |
private java.lang.String |
id |
private java.lang.String |
name |
private java.lang.String |
placeType |
private static long |
serialVersionUID |
private java.lang.String |
streetAddress |
private java.lang.String |
url |
NONE, READ, READ_WRITE, READ_WRITE_DIRECTMESSAGES| Constructor and Description |
|---|
PlaceJSONImpl() |
PlaceJSONImpl(HttpResponse res,
Configuration conf) |
PlaceJSONImpl(JSONObject json) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Place that) |
(package private) static ResponseList<Place> |
createPlaceList(HttpResponse res,
Configuration conf) |
(package private) static ResponseList<Place> |
createPlaceList(JSONArray list,
HttpResponse res,
Configuration conf) |
boolean |
equals(java.lang.Object obj) |
GeoLocation[][] |
getBoundingBoxCoordinates() |
java.lang.String |
getBoundingBoxType() |
Place[] |
getContainedWithIn() |
java.lang.String |
getCountry() |
java.lang.String |
getCountryCode() |
java.lang.String |
getFullName() |
GeoLocation[][] |
getGeometryCoordinates() |
java.lang.String |
getGeometryType() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.String |
getPlaceType() |
java.lang.String |
getStreetAddress() |
java.lang.String |
getURL() |
int |
hashCode() |
private void |
init(JSONObject json) |
java.lang.String |
toString() |
getAccessLevel, getRateLimitStatusclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAccessLevel, getRateLimitStatusprivate static final long serialVersionUID
private java.lang.String name
private java.lang.String streetAddress
private java.lang.String countryCode
private java.lang.String id
private java.lang.String country
private java.lang.String placeType
private java.lang.String url
private java.lang.String fullName
private java.lang.String boundingBoxType
private GeoLocation[][] boundingBoxCoordinates
private java.lang.String geometryType
private GeoLocation[][] geometryCoordinates
private Place[] containedWithIn
PlaceJSONImpl(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionPlaceJSONImpl(JSONObject json) throws TwitterException
TwitterExceptionPlaceJSONImpl()
private void init(JSONObject json) throws TwitterException
TwitterExceptionpublic int compareTo(Place that)
compareTo in interface java.lang.Comparable<Place>static ResponseList<Place> createPlaceList(HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionstatic ResponseList<Place> createPlaceList(JSONArray list, HttpResponse res, Configuration conf) throws TwitterException
TwitterExceptionpublic java.lang.String getStreetAddress()
getStreetAddress in interface Placepublic java.lang.String getCountryCode()
getCountryCode in interface Placepublic java.lang.String getCountry()
getCountry in interface Placepublic java.lang.String getPlaceType()
getPlaceType in interface Placepublic java.lang.String getFullName()
getFullName in interface Placepublic java.lang.String getBoundingBoxType()
getBoundingBoxType in interface Placepublic GeoLocation[][] getBoundingBoxCoordinates()
getBoundingBoxCoordinates in interface Placepublic java.lang.String getGeometryType()
getGeometryType in interface Placepublic GeoLocation[][] getGeometryCoordinates()
getGeometryCoordinates in interface Placepublic Place[] getContainedWithIn()
getContainedWithIn in interface Placepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object