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