/** * Returns the text value of this element, or null if there isn't one. If there is a non-text * child of this element, this will throw an exception. * * @return the text value of this element */ public String text() { ERXML.Text textNode = textNode(); String text = (textNode != null) ? textNode.text() : null; return text; }