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 TypeMethodDescriptionvoid
add
(Summary.Fragment fragment) Add a frag to the list.void
elements()
Return an Enum for all the fragmentsint
int
How many fragments we have.int
Return how many unique toks we havevoid
setNumTerms
(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
-