public void setChildText(final String text) {
        if (text == null || text.isEmpty()) {
            removeAllChildren();
        } else {
            addInnerHtml(new NoTag(null, text));
        }
    }
public void setChildText(final String text) {
        if (text == null || text.isEmpty()) {
            removeAllChildren();
        } else {
            addInnerHtml(new NoTag(null, text));
        }
    }
public void setChildText ( final String text ) { if ( text == null || text . isEmpty ( ) ) { removeAllChildren ( ) ; } else { addInnerHtml ( new NoTag ( null , text ) ) ; } }
sets the child text for this tag.

@param text
String which needs to be shown as a child of this tag.
@since 2.1.4
sets the child text for this tag .