* dc:language}.
*
* @param language the default language need to set fo the current document. NULL will remove the element from the meta.xml.
*/
public void setLanguage(String language) {
DcLanguageElement languageEle = OdfElement.findFirstChildNode(
DcLanguageElement.class, mOfficeMetaElement);
if (language == null) {
if (languageEle != null) {
mOfficeMetaElement.removeChild(languageEle);
}
} else {
if (languageEle == null) {
languageEle = mOfficeMetaElement.newDcLanguageElement();
}
languageEle.setTextContent(language);
}
}