Class Annotator_ImplBase

    • Constructor Detail

      • Annotator_ImplBase

        public Annotator_ImplBase()
    • Method Detail

      • getCasInstancesRequired

        public final int getCasInstancesRequired()
        Returns 0, since annotators are not allowed to create new CAS instances. Only CasMultipliers are allowed to do this.
        Returns:
        the number of CAS instances required by this AnalysisComponent.
      • hasNext

        public final boolean hasNext()
                              throws AnalysisEngineProcessException
        Returns false, since annotators are not allowed to create new CAS instances. Only CasMultipliers are allowed to do this.
        Returns:
        true if this AnalysisComponent has another CAS to output, false if not.
        Throws:
        AnalysisEngineProcessException - if a problem occurs during processing