Class MatchGroup

java.lang.Object
io.goobi.viewer.model.iiif.search.parser.MatchGroup

public class MatchGroup extends Object
Captures a single text match found during IIIF search parsing, holding the matched string together with its start and end character offsets within the source text.
  • Constructor Details

    • MatchGroup

      public MatchGroup(int start, int end, String text)
      Parameters:
      start - start character offset of the match
      end - end character offset of the match
      text - matched text content
  • Method Details

    • getStart

      public int getStart()
    • getEnd

      public int getEnd()
    • getText

      public String getText()