Class Excerpt
java.lang.Object
com.atlassian.confluence.search.v2.summary.Excerpt
Class Excerpt represents a single passage found in the
document, with some appropriate regions highlighted.
- Since:
- 8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Summary.Fragment fragment) Add a frag to the list.voidelements()Return an Enum for all the fragmentsintintHow many fragments we have.intReturn how many unique toks we havevoidsetNumTerms(int numTerms)
-
Constructor Details
-
Excerpt
public Excerpt()
-
-
Method Details
-
addToken
-
numUniqueTokens
public int numUniqueTokens()Return how many unique toks we have -
numFragments
public int numFragments()How many fragments we have. -
getNumTerms
public int getNumTerms() -
setNumTerms
public void setNumTerms(int numTerms) -
add
Add a frag to the list. -
elements
Return an Enum for all the fragments
-