public class AbstractLazyResultAnnotator.LazyAnnotation extends de.ims.icarus.util.annotation.AbstractAnnotation implements ResultAnnotation, SearchAnnotation
Modifier and Type | Field and Description |
---|---|
protected java.lang.Object |
data |
protected ResultEntry |
entry |
protected AbstractLazyResultAnnotator.Highlight[] |
highlights |
Constructor and Description |
---|
AbstractLazyResultAnnotator.LazyAnnotation(java.lang.Object data,
ResultEntry entry) |
Modifier and Type | Method and Description |
---|---|
int |
getAnnotationCount() |
AbstractLazyResultAnnotator |
getAnnotator() |
ResultEntry |
getEntry() |
int |
getGroupId(int index) |
int |
getGroupId(int index,
java.lang.String token) |
AbstractLazyResultAnnotator.Highlight |
getHighlight() |
long |
getHighlight(int index) |
Hit |
getHit() |
ResultEntry |
getResultEntry() |
boolean |
isEdgeHighlighted(int index) |
boolean |
isHighlighted(int index) |
boolean |
isNodeHighlighted(int index) |
boolean |
isTokenHighlighted(int index,
java.lang.String token) |
boolean |
isTransitiveHighlighted(int index) |
getIndex, isAfterLast, isBeforeFirst, moveToAnnotation, nextAnnotation, reset
protected final ResultEntry entry
protected final java.lang.Object data
protected AbstractLazyResultAnnotator.Highlight[] highlights
public AbstractLazyResultAnnotator.LazyAnnotation(java.lang.Object data, ResultEntry entry)
public ResultEntry getEntry()
public Hit getHit()
public int getAnnotationCount()
getAnnotationCount
in interface de.ims.icarus.util.annotation.Annotation
Annotation.getAnnotationCount()
public AbstractLazyResultAnnotator.Highlight getHighlight()
public int getGroupId(int index)
getGroupId
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#getGroupId(int)
public int getGroupId(int index, java.lang.String token)
getGroupId
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#getGroupId(int)
public boolean isHighlighted(int index)
isHighlighted
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#isHighlighted(int)
public boolean isNodeHighlighted(int index)
isNodeHighlighted
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#isNodeHighlighted(int)
public boolean isEdgeHighlighted(int index)
isEdgeHighlighted
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#isEdgeHighlighted(int)
public boolean isTransitiveHighlighted(int index)
isTransitiveHighlighted
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#isTransitiveHighlighted(int)
public long getHighlight(int index)
getHighlight
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#getHighlight(int)
public boolean isTokenHighlighted(int index, java.lang.String token)
isTokenHighlighted
in interface SearchAnnotation
de.ims.icarus.language.dependency.annotation.DependencyAnnotation#isTokenHighlighted(int, java.lang.String)
public ResultEntry getResultEntry()
getResultEntry
in interface ResultAnnotation
ResultAnnotation.getResultEntry()
public AbstractLazyResultAnnotator getAnnotator()
getAnnotator
in interface SearchAnnotation
SearchAnnotation.getAnnotator()