Пример #1
0
 /**
  * Returns the highlighted title if available, or the original title otherwise.
  *
  * @return
  */
 public String getHighlightedTitle() {
   return (highlighted != null && highlighted.getTitle() != null ? highlighted.getTitle() : title);
 }
Пример #2
0
 /**
  * Returns the highlighted url if available, or the original url otherwise.
  *
  * @return
  */
 public String getHighlightedUrl() {
   return (highlighted != null && highlighted.getUrl() != null ? highlighted.getUrl() : url);
 }
Пример #3
0
 /**
  * Returns the highlighted content if available, or the original content otherwise.
  *
  * @return
  */
 public String getHighlightedContent() {
   return (highlighted != null && highlighted.getContent() != null
       ? highlighted.getContent()
       : content);
 }