private String giveTextInBestLanguage(String elementName){
  if (mElementMap.containsKey(elementName + mRequestedLanguage)) {
    return mElementMap.get(elementName + mRequestedLanguage);
  }
 else   if (mElementMap.containsKey(elementName + DEFAULT_LANGUAGE)) {
    return mElementMap.get(elementName + DEFAULT_LANGUAGE);
  }
 else   if (mElementMap.containsKey(elementName + mFirstLanguage)) {
    return mElementMap.get(elementName + mFirstLanguage);
  }
 else {
    return mElementMap.get(elementName);
  }
}

private String giveTextInBestLanguage ( String elementName ) { if ( mElementMap . containsKey ( elementName + mRequestedLanguage ) ) { return mElementMap . get ( elementName + mRequestedLanguage ) ; } else if ( mElementMap . containsKey ( elementName + DEFAULT_LANGUAGE ) ) { return mElementMap . get ( elementName + DEFAULT_LANGUAGE ) ; } else if ( mElementMap . containsKey ( elementName + mFirstLanguage ) ) { return mElementMap . get ( elementName + mFirstLanguage ) ; } else { return mElementMap . get ( elementName ) ; } }
returns text part off xml element , if found for requested language ( ' xml : lang ' attribute = = requestedlanguage ) or with ' xml : lang ' is equal " en " ( english ) or with ' xml : lang ' attribute equals to this from the first ' subject ' element or the text from the element with out any ' xml : lang ' attribute or null if element not found
