public class AutoSuggestSearch extends AutoSuggest
AutoSuggestSearch
which contains information about a
refined search link.
Note: DiscoveryResultPage
is retrieved by way of the
DiscoveryRequest
returned from a call to the
getSuggestedSearchRequest()
method.
AutoSuggest.Type
m_pimpl
Modifier and Type | Method and Description |
---|---|
GeoBoundingBox |
getBoundingBox()
Gets the
GeoBoundingBox describing a range
of coordinates that correspond to the Place . |
java.lang.String |
getCategory()
Gets the category for the suggested search.
|
GeoCoordinate |
getPosition()
Gets the
GeoCoordinate representing the
geographical position of the suggested search. |
DiscoveryRequest |
getSuggestedSearchRequest()
Gets the request to perform a suggested search.
|
java.lang.String |
toString() |
equals, getHighlightedTitle, getTitle, getType, getUrl, hashCode
public GeoCoordinate getPosition()
GeoCoordinate
representing the
geographical position of the suggested search.
Note: position information for a suggested search is optional, so a
call to this method could return null
.
GeoCoordinate
public final java.lang.String getCategory()
Note: category information for a suggested search is optional, so a
call to this method could return null
.
public GeoBoundingBox getBoundingBox()
GeoBoundingBox
describing a range
of coordinates that correspond to the Place
. Typically, bounding boxes are
associated with places such as cities and countries.
Note: bounding box information for a suggested search is optional, so a
call to this method could return null
.
GeoBoundingBox
public DiscoveryRequest getSuggestedSearchRequest()
DiscoveryRequest
to retrieve the
DiscoveryResultPage
public java.lang.String toString()
toString
in class java.lang.Object