@Override
  public final org.jdom2.Element addContent(String text) {
    // ignore empty elements
    if (text == null) {
      return null;
    }
    return super.addContent(cleanUpString(text));
  }
@ Override public final org . jdom2 . Element addContent ( String text ) { if ( text == null ) { return null ; } return super . addContent ( cleanUpString ( text ) ) ; }
This adds text content to this element. It does not replace the existing content as does setText().
@param text String to add. Null values are ignored.
@return This element modified