org.apache.uima.tutorial.ex3
Class TutorialDateTime

java.lang.Object
  extended by org.apache.uima.analysis_component.AnalysisComponent_ImplBase
      extended by org.apache.uima.analysis_component.Annotator_ImplBase
          extended by org.apache.uima.analysis_component.JCasAnnotator_ImplBase
              extended by org.apache.uima.tutorial.ex3.TutorialDateTime
All Implemented Interfaces:
AnalysisComponent

public class TutorialDateTime
extends JCasAnnotator_ImplBase

Simple Date/Time annotator.


Constructor Summary
TutorialDateTime()
           
 
Method Summary
 void process(JCas aJCas)
          The ResultSpecification controls what gets produced.
 
Methods inherited from class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
getRequiredCasInterface, process
 
Methods inherited from class org.apache.uima.analysis_component.Annotator_ImplBase
getCasInstancesRequired, hasNext, next
 
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, initialize, reconfigure, setResultSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TutorialDateTime

public TutorialDateTime()
Method Detail

process

public void process(JCas aJCas)
The ResultSpecification controls what gets produced. For example, to only produce DateAnnotations, change the descriptor for this component to specify it outputs only that type.

Specified by:
process in class JCasAnnotator_ImplBase
Parameters:
aJCas - a JCAS that this AnalysisComponent should process.


Copyright © 2011. All Rights Reserved.