public interface LookupAnnotation
Modifier and Type | Method and Description |
---|---|
void |
addStringAttribute(String attrKey,
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.
|
String |
getStringAttribute(String attrKey)
Gets an attribute.
|
String |
getText()
Gets the text.
|
int getStartOffset()
int getEndOffset()
int getLength()
String getText()
void addStringAttribute(String attrKey, String attrVal)
attrKey
- attrVal
- Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.