service.external.riksdagen/src/main/java/com/hack23/cia/service/external/riksdagen/impl/RiksdagenBallotApiImpl.java
@Override
	public List<BallotDocumentElement> getBallotList() throws DataFailureException {

		try {
			final String url = BALLOT_LIST;
			return ((JAXBElement<VoteListContainerElement>) xmlAgent.unmarshallXml(riksdagenBallotListMarshaller, url,
							HTTP_VOTERINGLISTA_RIKSDAGEN_EXTERNAL_MODEL_CIA_HACK23_COM_IMPL,null,null))
							.getValue().getVotering();
		} catch (final XmlAgentException e) {
			LOGGER.warn(PROBLEM_GETTING_BALLOT_LIST_FROM_DATA_RIKSDAGEN_SE);
			throw new DataFailureException(e);
		}
	}
@Override
	public List<BallotDocumentElement> getBallotList() throws DataFailureException {

		try {
			final String url = BALLOT_LIST;
			return ((JAXBElement<VoteListContainerElement>) xmlAgent.unmarshallXml(riksdagenBallotListMarshaller, url,
							HTTP_VOTERINGLISTA_RIKSDAGEN_EXTERNAL_MODEL_CIA_HACK23_COM_IMPL,null,null))
							.getValue().getVotering();
		} catch (final XmlAgentException e) {
			LOGGER.warn(PROBLEM_GETTING_BALLOT_LIST_FROM_DATA_RIKSDAGEN_SE);
			throw new DataFailureException(e);
		}
	}
@ Override public List < BallotDocumentElement > getBallotList ( ) throws DataFailureException { try { final String url = BALLOT_LIST ; return ( ( JAXBElement < VoteListContainerElement > ) xmlAgent . unmarshallXml ( riksdagenBallotListMarshaller , url , HTTP_VOTERINGLISTA_RIKSDAGEN_EXTERNAL_MODEL_CIA_HACK23_COM_IMPL , null , null ) ) . getValue ( ) . getVotering ( ) ; } catch ( final XmlAgentException e ) { LOGGER . warn ( PROBLEM_GETTING_BALLOT_LIST_FROM_DATA_RIKSDAGEN_SE ) ; throw new DataFailureException ( e ) ; } }
/* (non-Javadoc)
@see com.hack23.cia.service.external.riksdagen.api.RiksdagenBallotApi#getBallotList()
/ * ( non - Javadoc )