public class ViewCreatorAnnotator extends JCasAnnotator_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_VIEW_NAME
The parameter name for the name of the viewed to be created by this annotator
|
Constructor and Description |
---|
ViewCreatorAnnotator() |
Modifier and Type | Method and Description |
---|---|
static JCas |
createViewSafely(JCas aJCas,
String aViewName)
Provides a simple call that allows you to safely create a view if it has not been created yet.
|
void |
process(JCas aJCas) |
getLogger, initialize
getRequiredCasInterface, process
getCasInstancesRequired, hasNext, next
batchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification
public static final String PARAM_VIEW_NAME
public void process(JCas aJCas) throws AnalysisEngineProcessException
process
in class JCasAnnotator_ImplBase
AnalysisEngineProcessException
public static JCas createViewSafely(JCas aJCas, String aViewName) throws AnalysisEngineProcessException
AnalysisEngineProcessException
Copyright © 2012–2013 The Apache Software Foundation. All rights reserved.