class MarriageRegnRowMapper implements ResultSetExtractor<List<MarriageRegn>> {

	@Override
	public List<MarriageRegn> extractData(ResultSet rs) throws SQLException, DataAccessException {
		Map<String, MarriageRegnInfo> marriageRegnInfoMap = getMarriageRegnInfoMap(rs);
		List<MarriageRegn> marriageRegnList = getMarriageRegnList(marriageRegnInfoMap);
		return marriageRegnList;
	}

}