public abstract class JCasTransformer_ImplBase
extends org.apache.uima.fit.component.JCasMultiplier_ImplBase
Modifier and Type | Field and Description |
---|---|
static String |
PARAM_TYPES_TO_COPY
A list of fully qualified type names that should be copied to the transformed CAS where
available.
|
Constructor and Description |
---|
JCasTransformer_ImplBase() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterProcess(org.apache.uima.jcas.JCas aInput,
org.apache.uima.jcas.JCas aOutput) |
protected void |
beforeProcess(org.apache.uima.jcas.JCas aInput,
org.apache.uima.jcas.JCas aOutput) |
protected String[] |
getTypesToCopy() |
boolean |
hasNext() |
org.apache.uima.cas.AbstractCas |
next() |
void |
process(org.apache.uima.jcas.JCas aJCas) |
abstract void |
process(org.apache.uima.jcas.JCas aInput,
org.apache.uima.jcas.JCas aOutput) |
getLogger, initialize
getCasInstancesRequired, getEmptyJCas, getRequiredCasInterface, process
public static final String PARAM_TYPES_TO_COPY
DocumentMetaData
, i.e. all
other annotations are omitted.public boolean hasNext() throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public org.apache.uima.cas.AbstractCas next() throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
protected void beforeProcess(org.apache.uima.jcas.JCas aInput, org.apache.uima.jcas.JCas aOutput) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
protected void afterProcess(org.apache.uima.jcas.JCas aInput, org.apache.uima.jcas.JCas aOutput)
protected String[] getTypesToCopy()
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
process
in class org.apache.uima.analysis_component.JCasMultiplier_ImplBase
org.apache.uima.analysis_engine.AnalysisEngineProcessException
public abstract void process(org.apache.uima.jcas.JCas aInput, org.apache.uima.jcas.JCas aOutput) throws org.apache.uima.analysis_engine.AnalysisEngineProcessException
org.apache.uima.analysis_engine.AnalysisEngineProcessException
Copyright © 2007–2018 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.