src/main/java/org/jboss/util/propertyeditor/ElementEditor.java
public void setAsText(String text)
   {
      Document d = getAsDocument(text);
      setValue(d.getDocumentElement());
   }
public void setAsText(String text)
   {
      Document d = getAsDocument(text);
      setValue(d.getDocumentElement());
   }
Sets as an Element created by a String.