public class StringNormalizeFunction extends FunctionBase
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_STRING_NORMALIZE_SPACE
Standard identifier for the string-normalize-space function.
|
static String |
NAME_STRING_NORMALIZE_TO_LOWER_CASE
Standard identifier for the string-normalize-to-lower-case function.
|
FUNCTION_NS, FUNCTION_NS_2| Constructor and Description |
|---|
StringNormalizeFunction(String functionName)
Creates a new
StringNormalizeFunction object. |
| Modifier and Type | Method and Description |
|---|---|
EvaluationResult |
evaluate(List inputs,
EvaluationCtx context)
Evaluate the function, using the specified parameters.
|
static Set |
getSupportedIdentifiers()
Returns a
Set containing all the function identifiers
supported by this class. |
checkInputs, checkInputsNoBag, encode, encode, evalArgs, getFunctionId, getFunctionName, getIdentifier, getReturnType, getReturnTypeAsString, getType, makeProcessingError, returnsBagpublic static final String NAME_STRING_NORMALIZE_SPACE
public static final String NAME_STRING_NORMALIZE_TO_LOWER_CASE
public StringNormalizeFunction(String functionName)
StringNormalizeFunction object.functionName - the standard XACML name of the function to be
handled by this object, including the full namespaceIllegalArgumentException - if the function is unknownpublic static Set getSupportedIdentifiers()
Set containing all the function identifiers
supported by this class.Set of Stringspublic EvaluationResult evaluate(List inputs, EvaluationCtx context)
inputs - a List of Evaluatable
objects representing the arguments passed to the functioncontext - an EvaluationCtx so that the
Evaluatable objects can be evaluatedEvaluationResult representing the
function's resultCopyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.