org.apache.ctakes.necontexts
Class ContextHitConsumerAdapter

java.lang.Object
  extended by org.apache.ctakes.necontexts.ContextHitConsumerAdapter
All Implemented Interfaces:
ContextHitConsumer

public class ContextHitConsumerAdapter
extends java.lang.Object
implements ContextHitConsumer


Constructor Summary
ContextHitConsumerAdapter()
           
 
Method Summary
 void consumeHit(org.apache.uima.jcas.JCas jcas, org.apache.uima.jcas.tcas.Annotation focusAnnot, int scope, ContextHit ctxHit)
          Implementation determines how context data is stored to the CAS.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextHitConsumerAdapter

public ContextHitConsumerAdapter()
Method Detail

consumeHit

public void consumeHit(org.apache.uima.jcas.JCas jcas,
                       org.apache.uima.jcas.tcas.Annotation focusAnnot,
                       int scope,
                       ContextHit ctxHit)
                throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Description copied from interface: ContextHitConsumer
Implementation determines how context data is stored to the CAS.

Specified by:
consumeHit in interface ContextHitConsumer
Parameters:
jcas - the UIMA view to update.
focusAnnot - The focus annotation.
scope - Scope of the context hit.
ctxHit - The context hit.
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException