org.apache.ctakes.assertion.cc
Class JudgeAttributeInstances

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.uimafit.component.JCasConsumer_ImplBase
                  extended by org.apache.ctakes.assertion.cc.JudgeAttributeInstances
All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent

public class JudgeAttributeInstances
extends org.uimafit.component.JCasConsumer_ImplBase

A simple CAS consumer that generates XCAS (XML representation of the CAS) files in the filesystem.

Author:
Philip Ogren

Nested Class Summary
protected static class JudgeAttributeInstances.Selector
           
 
Field Summary
protected  String fileNamerClassName
           
protected static AssertionEvaluation.Options options
           
static String PARAM_FILE_NAMER_CLASS_NAME
          The parameter name for the configuration parameter that specifies the name of the class that implements the file namer
static String PARAM_OUTPUT_DIRECTORY_NAME
          The parameter name for the configuration parameter that specifies the output directory
static String PARAM_XML_SCHEME_NAME
          The parameter name for the configuration parameter that provides the name of the XML scheme to use.
static String XCAS
          The name of the XCAS XML scheme.
static String XMI
          The name of the XMI XML scheme.
 
Constructor Summary
JudgeAttributeInstances()
           
 
Method Summary
 void initialize(org.apache.uima.UimaContext context)
           
 void process(org.apache.uima.jcas.JCas jCas)
           
static String prompt(String attr)
           
 
Methods inherited from class org.uimafit.component.JCasConsumer_ImplBase
getLogger
 
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, reconfigure, setResultSpecification
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_OUTPUT_DIRECTORY_NAME

public static final String PARAM_OUTPUT_DIRECTORY_NAME
The parameter name for the configuration parameter that specifies the output directory


PARAM_XML_SCHEME_NAME

public static final String PARAM_XML_SCHEME_NAME
The parameter name for the configuration parameter that provides the name of the XML scheme to use.


PARAM_FILE_NAMER_CLASS_NAME

public static final String PARAM_FILE_NAMER_CLASS_NAME
The parameter name for the configuration parameter that specifies the name of the class that implements the file namer


fileNamerClassName

protected String fileNamerClassName

XMI

public static final String XMI
The name of the XMI XML scheme. This is a valid value for the parameter

See Also:
Constant Field Values

XCAS

public static final String XCAS
The name of the XCAS XML scheme. This is a valid value for the parameter

See Also:
Constant Field Values

options

protected static AssertionEvaluation.Options options
Constructor Detail

JudgeAttributeInstances

public JudgeAttributeInstances()
Method Detail

initialize

public void initialize(org.apache.uima.UimaContext context)
                throws org.apache.uima.resource.ResourceInitializationException
Specified by:
initialize in interface org.apache.uima.analysis_component.AnalysisComponent
Overrides:
initialize in class org.uimafit.component.JCasConsumer_ImplBase
Throws:
org.apache.uima.resource.ResourceInitializationException

process

public void process(org.apache.uima.jcas.JCas jCas)
             throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
Specified by:
process in class org.apache.uima.analysis_component.JCasAnnotator_ImplBase
Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException

prompt

public static String prompt(String attr)


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.