public abstract class AbstractTreeResultAnnotator extends AbstractLazyResultAnnotator
AbstractLazyResultAnnotator.DefaultHighlight, AbstractLazyResultAnnotator.Highlight, AbstractLazyResultAnnotator.LazyAnnotation
Modifier and Type | Field and Description |
---|---|
protected Matcher[] |
matchers |
baseHighlights, highlighting
Modifier | Constructor and Description |
---|---|
protected |
AbstractTreeResultAnnotator(BitmaskHighlighting highlighting,
Matcher rootMatcher) |
Modifier and Type | Method and Description |
---|---|
protected long |
createBaseHighlight(int index) |
protected AbstractLazyResultAnnotator.Highlight |
createHighlight(java.lang.Object data,
Hit hit) |
protected abstract int |
getHead(java.lang.Object data,
int index) |
int |
getHighlightCount() |
Matcher |
getMatcher(int index) |
Matcher[] |
getMatchers() |
annotate, createAnnotatedData, createAnnotation, getBaseHighlights, getHighlighting, supports
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotationType
protected Matcher[] matchers
protected AbstractTreeResultAnnotator(BitmaskHighlighting highlighting, Matcher rootMatcher)
public Matcher[] getMatchers()
public Matcher getMatcher(int index)
public int getHighlightCount()
getHighlightCount
in class AbstractLazyResultAnnotator
protected long createBaseHighlight(int index)
createBaseHighlight
in class AbstractLazyResultAnnotator
protected abstract int getHead(java.lang.Object data, int index)
protected AbstractLazyResultAnnotator.Highlight createHighlight(java.lang.Object data, Hit hit)
createHighlight
in class AbstractLazyResultAnnotator