Interface PredicateEvaluator

    • Method Detail

      • evaluate

        boolean evaluate​(Fragment<?> fragment,
                         ExecutionContext executionContext)
        Does this XPath expression evaluate for the supplied Element context object.

        The implementation can update the context to a parent element if the expression targets multiple contexts.

        Parameters:
        fragment - The Element context to be evaluated against.
        executionContext - Smooks ExecutionContext.
        Returns:
        True if the expression evaluates, otherwise false.