private static Language parseNextLanguage(Element element) {
        Language language = new Language();

        language.setName(DOMHelper.getValueFromElement(element, "name"));
        language.setAbbreviation(DOMHelper.getValueFromElement(element, "abbreviation"));
        language.setId(DOMHelper.getValueFromElement(element, "id"));

        return language;
    }
private static Language parseNextLanguage ( Element element ) { Language language = new Language ( ) ; language . setName ( DOMHelper . getValueFromElement ( element , "name" ) ) ; language . setAbbreviation ( DOMHelper . getValueFromElement ( element , "abbreviation" ) ) ; language . setId ( DOMHelper . getValueFromElement ( element , "id" ) ) ; return language ; }
Parses the next language.

@param element the element
@return the language