com.hack23.cia.service.external.worldbank.impl
Class WorldbankApiImpl

Package class diagram package WorldbankApiImpl
java.lang.Object
  extended by com.hack23.cia.service.external.common.impl.AbstractXmlAgentImpl
      extended by com.hack23.cia.service.external.worldbank.impl.WorldbankApiImpl
All Implemented Interfaces:
WorldBankApi

@Component
public class WorldbankApiImpl
extends AbstractXmlAgentImpl
implements WorldBankApi

The Class WorldbankApiImpl.


Constructor Summary
WorldbankApiImpl()
           
 
Method Summary
 List<CountryElement> getCountries()
          Gets the countries.
 List<Data> getData(String countryCode, String indicatorId)
          Gets the data.
 List<IndicatorElement> getIndicators()
          Gets the indicators.
 List<TopicElement> getTopics()
          Gets the topics.
 
Methods inherited from class com.hack23.cia.service.external.common.impl.AbstractXmlAgentImpl
retriveContent, setNameSpaceOnXmlStream, unmarshallXml, unmarshallXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldbankApiImpl

public WorldbankApiImpl()
Method Detail

getCountries

public List<CountryElement> getCountries()
                                  throws Exception
Description copied from interface: WorldBankApi
Gets the countries.

Specified by:
getCountries in interface WorldBankApi
Returns:
the countries
Throws:
Exception - the exception

getData

public List<Data> getData(String countryCode,
                          String indicatorId)
                   throws Exception
Description copied from interface: WorldBankApi
Gets the data.

Specified by:
getData in interface WorldBankApi
Parameters:
countryCode - the country code
indicatorId - the indicator id
Returns:
the data
Throws:
Exception - the exception

getIndicators

public List<IndicatorElement> getIndicators()
                                     throws Exception
Description copied from interface: WorldBankApi
Gets the indicators.

Specified by:
getIndicators in interface WorldBankApi
Returns:
the indicators
Throws:
Exception - the exception

getTopics

public List<TopicElement> getTopics()
                             throws Exception
Description copied from interface: WorldBankApi
Gets the topics.

Specified by:
getTopics in interface WorldBankApi
Returns:
the topics
Throws:
Exception - the exception


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.