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 |
| Constructor and Description |
|---|
PlaceJSONImpl(twitter4j.internal.http.HttpResponse res) |
PlaceJSONImpl(twitter4j.internal.org.json.JSONObject json) |
PlaceJSONImpl(twitter4j.internal.org.json.JSONObject json,
twitter4j.internal.http.HttpResponse res) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Place that) |
(package private) static ResponseList<Place> |
createPlaceList(twitter4j.internal.http.HttpResponse res) |
(package private) static ResponseList<Place> |
createPlaceList(twitter4j.internal.org.json.JSONArray list,
twitter4j.internal.http.HttpResponse res) |
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(twitter4j.internal.org.json.JSONObject json) |
java.lang.String |
toString() |
getRateLimitStatusprivate 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
private static final long serialVersionUID
PlaceJSONImpl(twitter4j.internal.http.HttpResponse res)
throws TwitterException
TwitterExceptionPlaceJSONImpl(twitter4j.internal.org.json.JSONObject json,
twitter4j.internal.http.HttpResponse res)
throws TwitterException
TwitterExceptionPlaceJSONImpl(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
TwitterExceptionprivate void init(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
TwitterExceptionpublic int compareTo(Place that)
compareTo in interface java.lang.Comparable<Place>static ResponseList<Place> createPlaceList(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterExceptionstatic ResponseList<Place> createPlaceList(twitter4j.internal.org.json.JSONArray list, twitter4j.internal.http.HttpResponse res) 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