twitter4j
Class PlaceJSONImpl
java.lang.Object
twitter4j.TwitterResponseImpl
twitter4j.PlaceJSONImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Place>, Place, TwitterResponse
final class PlaceJSONImpl
- extends TwitterResponseImpl
- implements Place, java.io.Serializable
- Since:
- Twitter4J 2.1.1
- Author:
- Yusuke Yamamoto - yusuke at mac.com
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
name
private java.lang.String name
streetAddress
private java.lang.String streetAddress
countryCode
private java.lang.String countryCode
id
private java.lang.String id
country
private java.lang.String country
placeType
private java.lang.String placeType
url
private java.lang.String url
fullName
private java.lang.String fullName
boundingBoxType
private java.lang.String boundingBoxType
boundingBoxCoordinates
private GeoLocation[][] boundingBoxCoordinates
geometryType
private java.lang.String geometryType
geometryCoordinates
private GeoLocation[][] geometryCoordinates
containedWithIn
private Place[] containedWithIn
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
PlaceJSONImpl
PlaceJSONImpl(twitter4j.internal.http.HttpResponse res,
Configuration conf)
throws TwitterException
- Throws:
TwitterException
PlaceJSONImpl
PlaceJSONImpl(twitter4j.internal.org.json.JSONObject json,
twitter4j.internal.http.HttpResponse res)
throws TwitterException
- Throws:
TwitterException
PlaceJSONImpl
PlaceJSONImpl(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
- Throws:
TwitterException
init
private void init(twitter4j.internal.org.json.JSONObject json)
throws TwitterException
- Throws:
TwitterException
compareTo
public int compareTo(Place that)
- Specified by:
compareTo
in interface java.lang.Comparable<Place>
createPlaceList
static ResponseList<Place> createPlaceList(twitter4j.internal.http.HttpResponse res,
Configuration conf)
throws TwitterException
- Throws:
TwitterException
createPlaceList
static ResponseList<Place> createPlaceList(twitter4j.internal.org.json.JSONArray list,
twitter4j.internal.http.HttpResponse res,
Configuration conf)
throws TwitterException
- Throws:
TwitterException
getName
public java.lang.String getName()
- Specified by:
getName
in interface Place
getStreetAddress
public java.lang.String getStreetAddress()
- Specified by:
getStreetAddress
in interface Place
getCountryCode
public java.lang.String getCountryCode()
- Specified by:
getCountryCode
in interface Place
getId
public java.lang.String getId()
- Specified by:
getId
in interface Place
getCountry
public java.lang.String getCountry()
- Specified by:
getCountry
in interface Place
getPlaceType
public java.lang.String getPlaceType()
- Specified by:
getPlaceType
in interface Place
getURL
public java.lang.String getURL()
- Specified by:
getURL
in interface Place
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName
in interface Place
getBoundingBoxType
public java.lang.String getBoundingBoxType()
- Specified by:
getBoundingBoxType
in interface Place
getBoundingBoxCoordinates
public GeoLocation[][] getBoundingBoxCoordinates()
- Specified by:
getBoundingBoxCoordinates
in interface Place
getGeometryType
public java.lang.String getGeometryType()
- Specified by:
getGeometryType
in interface Place
getGeometryCoordinates
public GeoLocation[][] getGeometryCoordinates()
- Specified by:
getGeometryCoordinates
in interface Place
getContainedWithIn
public Place[] getContainedWithIn()
- Specified by:
getContainedWithIn
in interface Place
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object