Constructor and Description |
---|
PalindromeFunction() |
Modifier and Type | Method and Description |
---|---|
Value |
evaluate(ValueFactory valueFactory,
Value... args)
Executes the palindrome function.
|
String |
getURI()
return the URI 'http://example.org/custom-function/palindrome' as a String
|
public static final String NAMESPACE
public String getURI()
public Value evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
evaluate
in interface Function
valueFactory
- a ValueFactory
to use for producing the function result.args
- the function input arguments.ValueExprEvaluationException
- if more than one argument is supplied or if the supplied argument is not a
literal.Copyright © 2015-2022 Eclipse Foundation. All Rights Reserved.