/** * Returns the highlighted title if available, or the original title otherwise. * * @return */ public String getHighlightedTitle() { return (highlighted != null && highlighted.getTitle() != null ? highlighted.getTitle() : title); }
/** * Returns the highlighted url if available, or the original url otherwise. * * @return */ public String getHighlightedUrl() { return (highlighted != null && highlighted.getUrl() != null ? highlighted.getUrl() : url); }
/** * Returns the highlighted content if available, or the original content otherwise. * * @return */ public String getHighlightedContent() { return (highlighted != null && highlighted.getContent() != null ? highlighted.getContent() : content); }