XmlWriter2: made jdom2-related methods non-static, where appropriate