Class Summary.Highlight
- java.lang.Object
-
- com.atlassian.confluence.search.v2.summary.Summary.Fragment
-
- com.atlassian.confluence.search.v2.summary.Summary.Highlight
-
- Enclosing class:
- Summary
public static class Summary.Highlight extends Summary.Fragment
A highlighted fragment of text within a summary.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isHighlight()
Returns true.-
Methods inherited from class com.atlassian.confluence.search.v2.summary.Summary.Fragment
equals, getText, hashCode, isEllipsis, toString
-
-
-
-
Constructor Detail
-
Highlight
public Highlight(String text)
Constructs a highlighted fragment for the given text.
-
-
Method Detail
-
isHighlight
public boolean isHighlight()
Returns true.- Overrides:
isHighlight
in classSummary.Fragment
-
-