org.jboss.seam.rest.example.client.geo
Class SearchAction
java.lang.Object
org.jboss.seam.rest.example.client.geo.SearchAction
@Singleton
public class SearchAction
- extends Object
Executes a zip code query using the geonames API. http://www.geonames.org/export/ws-overview.html
- Author:
- Jozef Hartinger
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchAction
public SearchAction()
search
public void search(String query)
throws ConnectionException
- Throws:
ConnectionException
getLocations
public SearchResult getLocations()
Copyright © 2011 Seam Framework. All Rights Reserved.