Interface TextElementMatcher

All Known Implementing Classes:
TextElement

public interface TextElementMatcher
  • Method Summary

    Modifier and Type
    Method
    Description
    and​(TextElementMatcher textElementMatcher)
    This allows the combination of different TextElementMatcher instances.
    If combined, all of the TextElementMatchers have to return true.
    boolean
    match​(TextElement textElement)
     
  • Method Details

    • match

      boolean match(TextElement textElement)
    • and

      default TextElementMatcher and(TextElementMatcher textElementMatcher)
      This allows the combination of different TextElementMatcher instances.
      If combined, all of the TextElementMatchers have to return true.
      Parameters:
      textElementMatcher - TextElementMatcher to combine with this one
      Returns:
      A new and combined TextElementMatcher of this and textElementMatcher