org.apache.ctakes.core.cc
Class HtmlTableCasConsumer

java.lang.Object
  extended by org.apache.uima.resource.Resource_ImplBase
      extended by org.apache.uima.resource.ConfigurableResource_ImplBase
          extended by org.apache.uima.collection.CasConsumer_ImplBase
              extended by org.apache.ctakes.core.cc.HtmlTableCasConsumer
All Implemented Interfaces:
org.apache.uima.collection.base_cpm.CasObjectProcessor, org.apache.uima.collection.base_cpm.CasProcessor, org.apache.uima.collection.CasConsumer, org.apache.uima.resource.ConfigurableResource, org.apache.uima.resource.Resource

public class HtmlTableCasConsumer
extends org.apache.uima.collection.CasConsumer_ImplBase

Outputs an HTML table that visualizes the specified Annotation objects over the document text.

Author:
Mayo Clinic

Nested Class Summary
(package private)  class HtmlTableCasConsumer.AnnotationLengthComparator
          Comparator for comparing two Annotation objects based on span length.
(package private)  class HtmlTableCasConsumer.AnnotationPositionComparator
          Comparator for comparing two Annotation objects based on offset position.
 
Field Summary
 
Fields inherited from interface org.apache.uima.resource.Resource
PARAM_AGGREGATE_SOFA_MAPPINGS, PARAM_CONFIG_MANAGER, PARAM_CONFIG_PARAM_SETTINGS, PARAM_PERFORMANCE_TUNING_SETTINGS, PARAM_RESOURCE_MANAGER, PARAM_UIMA_CONTEXT
 
Constructor Summary
HtmlTableCasConsumer()
           
 
Method Summary
 void initialize()
           
 void processCas(org.apache.uima.cas.CAS cas)
           
 
Methods inherited from class org.apache.uima.collection.CasConsumer_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getProcessingResourceMetaData, initialize, isReadOnly, isStateless, processCas, reconfigure, typeSystemInit
 
Methods inherited from class org.apache.uima.resource.ConfigurableResource_ImplBase
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
 
Methods inherited from class org.apache.uima.resource.Resource_ImplBase
getCasManager, getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger, setMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.uima.resource.ConfigurableResource
getConfigParameterValue, getConfigParameterValue, setConfigParameterValue, setConfigParameterValue
 
Methods inherited from interface org.apache.uima.resource.Resource
getLogger, getMetaData, getResourceManager, getUimaContext, getUimaContextAdmin, setLogger
 

Constructor Detail

HtmlTableCasConsumer

public HtmlTableCasConsumer()
Method Detail

initialize

public void initialize()
                throws org.apache.uima.resource.ResourceInitializationException
Overrides:
initialize in class org.apache.uima.collection.CasConsumer_ImplBase
Throws:
org.apache.uima.resource.ResourceInitializationException

processCas

public void processCas(org.apache.uima.cas.CAS cas)
                throws org.apache.uima.resource.ResourceProcessException
Throws:
org.apache.uima.resource.ResourceProcessException