Class Summary.Fragment
java.lang.Object
com.atlassian.confluence.search.v2.summary.Summary.Fragment
- Direct Known Subclasses:
Summary.Ellipsis
,Summary.Highlight
- Enclosing class:
- Summary
A fragment of text within a summary.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Fragment
Constructs a fragment for the given text.
-
-
Method Details
-
getText
Returns the text of this fragment. -
isHighlight
public boolean isHighlight()Returns true iff this fragment is to be highlighted. -
isEllipsis
public boolean isEllipsis()Returns true iff this fragment is an ellipsis. -
toString
Returns an HTML representation of this fragment. -
equals
-
hashCode
public int hashCode()
-