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() |
getRateLimitStatus
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
private static final long serialVersionUID
PlaceJSONImpl(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
PlaceJSONImpl(twitter4j.internal.org.json.JSONObject json, twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
PlaceJSONImpl(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
private void init(twitter4j.internal.org.json.JSONObject json) throws TwitterException
TwitterException
public int compareTo(Place that)
compareTo
in interface java.lang.Comparable<Place>
static ResponseList<Place> createPlaceList(twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
static ResponseList<Place> createPlaceList(twitter4j.internal.org.json.JSONArray list, twitter4j.internal.http.HttpResponse res) throws TwitterException
TwitterException
public java.lang.String getStreetAddress()
getStreetAddress
in interface Place
public java.lang.String getCountryCode()
getCountryCode
in interface Place
public java.lang.String getCountry()
getCountry
in interface Place
public java.lang.String getPlaceType()
getPlaceType
in interface Place
public java.lang.String getFullName()
getFullName
in interface Place
public java.lang.String getBoundingBoxType()
getBoundingBoxType
in interface Place
public GeoLocation[][] getBoundingBoxCoordinates()
getBoundingBoxCoordinates
in interface Place
public java.lang.String getGeometryType()
getGeometryType
in interface Place
public GeoLocation[][] getGeometryCoordinates()
getGeometryCoordinates
in interface Place
public Place[] getContainedWithIn()
getContainedWithIn
in interface Place
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object