org.jboss.seam.rest.example.client.geo
Class SearchAction

java.lang.Object
  extended by 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

Constructor Summary
SearchAction()
           
 
Method Summary
 SearchResult getLocations()
           
 void search(String query)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchAction

public SearchAction()
Method Detail

search

public void search(String query)
            throws ConnectionException
Throws:
ConnectionException

getLocations

public SearchResult getLocations()


Copyright © 2011 Seam Framework. All Rights Reserved.