return (lang != null) ? new Lang(lang) : null;
}
public String getLanguage() {
String lang = getAttributeValue(LANG);
Base parent = this.getParentElement();
return (lang != null) ? lang :
(parent != null && parent instanceof Element) ?
((Element)parent).getLanguage() :
(parent != null && parent instanceof Document) ?
((Document)parent).getLanguage(): null;