com.yahoo.search
Interface LocalSearchResult

All Known Implementing Classes:
XmlParserLocalSearchResults.XmlParserLocalSearchResult

public interface LocalSearchResult

Local search result.

Author:
Ryan Kennedy

Method Summary
 String getAddress()
          Street address of the result.
 String getBusinessClickUrl()
          The URL for linking to the businesses website if known.
 String getBusinessUrl()
          The URL of the businesses website, if known.
 String getCity()
          City in which the result is located.
 String getClickUrl()
          The URL for linking to the detailed page for a business.
 String getDistance()
          Distance in miles.
 String getMapUrl()
          The URL of a map for the address.
 String getPhone()
          Phone number of the business, if known.
 String getRating()
          End-user ratings for the business or service.
 String getState()
          State in which the result is located.
 String getTitle()
          Name of the result.
 String getUrl()
          The URL to the detailed page for a business.
 

Method Detail

getTitle

String getTitle()
Name of the result.

Returns:
Name of the result.

getAddress

String getAddress()
Street address of the result.

Returns:
Street address of the result.

getCity

String getCity()
City in which the result is located.

Returns:
City in which the result is located.

getState

String getState()
State in which the result is located.

Returns:
State in which the result is located.

getPhone

String getPhone()
Phone number of the business, if known.

Returns:
Phone number of the business, if known.

getRating

String getRating()
End-user ratings for the business or service. This field is optional.

Returns:
End-user ratings for the business or service.

getDistance

String getDistance()
Distance in miles.

The distance as calculated by one of the following methods:

Returns:
Distance in miles.

getUrl

String getUrl()
The URL to the detailed page for a business.

Returns:
The URL to the detailed page for a business.

getClickUrl

String getClickUrl()
The URL for linking to the detailed page for a business. See URL linking for more information.

Returns:
The URL for linking to the detailed page for a business.

getMapUrl

String getMapUrl()
The URL of a map for the address.

Returns:
The URL of a map for the address.

getBusinessUrl

String getBusinessUrl()
The URL of the businesses website, if known. This field is optional.

Returns:
The URL of the businesses website, if known.

getBusinessClickUrl

String getBusinessClickUrl()
The URL for linking to the businesses website if known. See URL linking for more information. This field is optional.

Returns:
The URL for linking to the businesses website if known.