Package net.sf.saxon.expr.elab
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.
A StringEvaluator is a function that typically encapsulates the logic for
evaluating an expression that returns a string.
-
Method Summary
Modifier and TypeMethodDescriptioneval
(XPathContext context) Evaluate the encapsulated expression
-
Method Details
-
eval
Evaluate the encapsulated expression- Parameters:
context
- the evaluation context- Returns:
- the result, as a string; or null to represent an empty sequence
- Throws:
XPathException
- if a dynamic error occurs
-