Interface ElementMatcher

All Known Implementing Classes:
AttributeElementMatcher, AttributeValueElementMatcher, SimpleElementMatcher
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ElementMatcher
Functional interface representing matching an Element.
Since:
0.10.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    match(Element input)
    Match an Element against specified criteria.
  • Method Details

    • match

      boolean match(@Nonnull Element input)
      Match an Element against specified criteria.
      Parameters:
      input - the Element to match
      Returns:
      true if the Element matches