Interface StringEvaluator

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface StringEvaluator
    A StringEvaluator is a function that typically encapsulates the logic for evaluating an expression that returns a string.
    • Method Detail

      • eval

        java.lang.String eval​(XPathContext context)
                       throws XPathException
        Evaluate the encapsulated expression
        context - the evaluation context
        the result, as a string; or null to represent an empty sequence
        XPathException - if a dynamic error occurs