Class LineMultiplier
- java.lang.Object
-
- org.apache.uima.analysis_component.AnalysisComponent_ImplBase
-
- org.apache.uima.analysis_component.JCasMultiplier_ImplBase
-
- de.julielab.jcore.multiplier.line.LineMultiplier
-
- All Implemented Interfaces:
org.apache.uima.analysis_component.AnalysisComponent
public class LineMultiplier extends org.apache.uima.analysis_component.JCasMultiplier_ImplBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringPARAM_NUM_LINES
-
Constructor Summary
Constructors Constructor Description LineMultiplier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()voidinitialize(org.apache.uima.UimaContext aContext)org.apache.uima.cas.AbstractCasnext()voidprocess(org.apache.uima.jcas.JCas aJCas)This method is called for each document going through the component.-
Methods inherited from class org.apache.uima.analysis_component.JCasMultiplier_ImplBase
getCasInstancesRequired, getEmptyJCas, getRequiredCasInterface, process
-
-
-
-
Field Detail
-
PARAM_NUM_LINES
public static final String PARAM_NUM_LINES
- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(org.apache.uima.UimaContext aContext) throws org.apache.uima.resource.ResourceInitializationException- Specified by:
initializein interfaceorg.apache.uima.analysis_component.AnalysisComponent- Overrides:
initializein classorg.apache.uima.analysis_component.AnalysisComponent_ImplBase- Throws:
org.apache.uima.resource.ResourceInitializationException
-
process
public void process(org.apache.uima.jcas.JCas aJCas) throws org.apache.uima.analysis_engine.AnalysisEngineProcessExceptionThis method is called for each document going through the component. This is where the actual work happens.- Specified by:
processin classorg.apache.uima.analysis_component.JCasMultiplier_ImplBase- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
-
next
public org.apache.uima.cas.AbstractCas next()
-
hasNext
public boolean hasNext() throws org.apache.uima.analysis_engine.AnalysisEngineProcessException- Throws:
org.apache.uima.analysis_engine.AnalysisEngineProcessException
-
-