/** * Assumes the <content> element's contents are plain-text and returns its * value as a string * * @return A string containing the plain-text value of the content tag. * * @throws IllegalStateException If the content element is not a text type. */ public String getPlainTextContent() { TextContent content = getTextContent(); return (content == null) ? null : content.getPlainText(); }
/** * Assumes the <content> element's contents are plain-text and returns its * value as a string * * @return A string containing the plain-text value of the content tag. * * @throws IllegalStateException If the content element is not a text type. */ public String getPlainTextContent() { TextContent content = getTextContent(); return (content == null) ? null : content.getPlainText(); }
/** * Assumes the <content> element's contents are plain-text and * returns its value as a string * * @return A string containing the plain-text value of the content tag. * * @throws IllegalStateException * If the content element is not a text type. */ public String getPlainTextContent() { TextContent content = getTextContent(); return (content == null) ? null : content.getPlainText(); }