Class LineMultiplier

  • All Implemented Interfaces:
    org.apache.uima.analysis_component.AnalysisComponent

    public class LineMultiplier
    extends org.apache.uima.analysis_component.JCasMultiplier_ImplBase
    • Constructor Summary

      Constructors 
      Constructor Description
      LineMultiplier()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      void initialize​(org.apache.uima.UimaContext aContext)  
      org.apache.uima.cas.AbstractCas next()  
      void process​(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
      • Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase

        batchProcessComplete, collectionProcessComplete, destroy, getContext, getResultSpecification, reconfigure, setResultSpecification
    • Constructor Detail

      • LineMultiplier

        public LineMultiplier()
    • Method Detail

      • initialize

        public void initialize​(org.apache.uima.UimaContext aContext)
                        throws org.apache.uima.resource.ResourceInitializationException
        Specified by:
        initialize in interface org.apache.uima.analysis_component.AnalysisComponent
        Overrides:
        initialize in class org.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.AnalysisEngineProcessException
        This method is called for each document going through the component. This is where the actual work happens.
        Specified by:
        process in class org.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