|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ctakes.dictionary.lookup.vo.LookupAnnotationToTokAdapter
public class LookupAnnotationToTokAdapter
Constructor Summary | |
---|---|
LookupAnnotationToTokAdapter(Token tok)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LookupAnnotationToTokAdapter(Token tok)
Method Detail |
---|
public void addStringAttribute(java.lang.String attrKey, java.lang.String attrVal)
LookupAnnotation
addStringAttribute
in interface LookupAnnotation
public int getEndOffset()
LookupAnnotation
getEndOffset
in interface LookupAnnotation
public int getLength()
LookupAnnotation
getLength
in interface LookupAnnotation
public int getStartOffset()
LookupAnnotation
getStartOffset
in interface LookupAnnotation
public java.lang.String getStringAttribute(java.lang.String attrKey)
LookupAnnotation
getStringAttribute
in interface LookupAnnotation
public java.lang.String getText()
LookupAnnotation
getText
in interface LookupAnnotation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |