|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hack23.cia.service.external.common.impl.AbstractXmlAgentImpl com.hack23.cia.service.external.worldbank.impl.WorldbankApiImpl
@Component public class WorldbankApiImpl
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 |
---|
public WorldbankApiImpl()
Method Detail |
---|
public List<CountryElement> getCountries() throws Exception
WorldBankApi
getCountries
in interface WorldBankApi
Exception
- the exceptionpublic List<Data> getData(String countryCode, String indicatorId) throws Exception
WorldBankApi
getData
in interface WorldBankApi
countryCode
- the country codeindicatorId
- the indicator id
Exception
- the exceptionpublic List<IndicatorElement> getIndicators() throws Exception
WorldBankApi
getIndicators
in interface WorldBankApi
Exception
- the exceptionpublic List<TopicElement> getTopics() throws Exception
WorldBankApi
getTopics
in interface WorldBankApi
Exception
- the exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |