public interface LookupAnnotation
Modifier and Type | Method and Description |
---|---|
void |
addStringAttribute(java.lang.String attrKey,
java.lang.String attrVal)
Adds an attribute that may be used for filtering.
|
int |
getEndOffset()
Gets the end offset.
|
int |
getLength()
Gets the length of this annotation based on offsets.
|
int |
getStartOffset()
Gets the start offset.
|
java.lang.String |
getStringAttribute(java.lang.String attrKey)
Gets an attribute.
|
java.lang.String |
getText()
Gets the text.
|
int getStartOffset()
int getEndOffset()
int getLength()
java.lang.String getText()
void addStringAttribute(java.lang.String attrKey, java.lang.String attrVal)
attrKey
- attrVal
- java.lang.String getStringAttribute(java.lang.String attrKey)
attrKey
-