Class TextMatcher

  • public class TextMatcher
    extends Matcher
    Final evaluation state of a .../text() XPath expression. Matches all text children of the current element.
    • Field Detail

      • INSTANCE

        public static final Matcher INSTANCE
    • Constructor Detail

      • TextMatcher

        public TextMatcher()
    • Method Detail

      • matchesText

        public boolean matchesText()
        Description copied from class: Matcher
        Returns true if the XPath expression matches all text nodes whose parent is the element associated with this evaluation state.
        matchesText in class Matcher
        XPath evaluation state for text children of this element