- protected Element createElement(Document document, String key, String value) {
- return XmlUtil.createTextElement(document, key, (String) value);
- }
+ protected Element createElement(Document document, String key, String value, Optional<String> namespace) {
+ Element typeElement = XmlUtil.createElement(document, key, namespace);