Package net.sf.saxon.expr.elab
Interface UnicodeStringEvaluator
- 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, in the form of a
UnicodeString
-
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
UnicodeString
; or null to represent an empty sequence - Throws:
XPathException
- if a dynamic error occurs
-