| Constructor and Description |
|---|
HashFunction() |
| Modifier and Type | Method and Description |
|---|---|
abstract Literal |
evaluate(ValueFactory valueFactory,
Value... args)
Evaluates this function for the given arguments.
|
protected String |
hash(String text,
String algorithm) |
protected String hash(String text, String algorithm) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic abstract Literal evaluate(ValueFactory valueFactory, Value... args) throws ValueExprEvaluationException
Functionevaluate in interface FunctionvalueFactory - the ValueFactory provided for creating Values.args - the arguments provided.ValueExprEvaluationException - if this function could not be evaluated to a Value.Copyright © 2001-2016 Aduna. All Rights Reserved.