Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

String org::apache::uima::jcas::tcas::Annotation_Type::getCoveredText ( int  inst ) [inline, inherited]
See also:
org.apache.uima.cas.text.AnnotationFS::getCoveredText()

Definition at line 92 of file Annotation_Type.java.

References org::apache::uima::cas::impl::CASImpl::getDocumentText().

                                         { 
    final CASImpl casView = ll_cas.ll_getSofaCasView(inst);
    final String text = casView.getDocumentText();
    if (text == null) {
      return null;
    }
    return text.substring(getBegin(inst), getEnd(inst)); 
  }

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index