Interface MatchExpression

    • Method Detail

      • matches

        boolean matches​(XPathNode node,
                        XPathContext context)
                 throws XPathException
        Determines if the given node is matched by this MatchExpr with respect to the given context.
        Parameters:
        node - the node to determine a match for
        context - the XPathContext
        Returns:
        true if the given node is matched by this MatchExpr
        Throws:
        XPathException - when an error occurs during evaluation