/** {@inheritDoc } */ @Override public JdomRepresentation set(String nodeName, String value) { try { Element elt = getElement(nodeName); elt.setText(value); } catch (XmlException ex) { add(nodeName, value); } return this; }