Class ElementMatcher


  • public class ElementMatcher
    extends Matcher
    Final evaluation state of an XPath expression that targets an element. Matches the current element.
    • Field Detail

      • INSTANCE

        public static final Matcher INSTANCE
    • Constructor Detail

      • ElementMatcher

        public ElementMatcher()
    • Method Detail

      • matchesElement

        public boolean matchesElement()
        Description copied from class: Matcher
        Returns true if the XPath expression matches the element associated with this evaluation state.
        Overrides:
        matchesElement in class Matcher
        Returns:
        XPath evaluation state for this element