public class URLStringCatFunction extends FunctionBase
Modifier and Type | Field and Description |
---|---|
static String |
NAME_URL_STRING_CONCATENATE
Standard identifier for the url-string-concatenate function.
|
FUNCTION_NS, FUNCTION_NS_2
Constructor and Description |
---|
URLStringCatFunction()
Creates an instance of this function.
|
Modifier and Type | Method and Description |
---|---|
void |
checkInputs(List inputs)
Checks the inputs of this function.
|
void |
checkInputsNoBag(List inputs)
Checks the inputs of this function assuming no parameters are bags.
|
EvaluationResult |
evaluate(List inputs,
EvaluationCtx context)
Evaluates the function given the input data.
|
encode, encode, evalArgs, getFunctionId, getFunctionName, getIdentifier, getReturnType, getReturnTypeAsString, getType, makeProcessingError, returnsBag
public static final String NAME_URL_STRING_CONCATENATE
public URLStringCatFunction()
public void checkInputs(List inputs) throws IllegalArgumentException
checkInputs
in interface Function
checkInputs
in class FunctionBase
inputs
- a List>
of Evaluatable
sIllegalArgumentException
- if the inputs won't workpublic void checkInputsNoBag(List inputs) throws IllegalArgumentException
checkInputsNoBag
in interface Function
checkInputsNoBag
in class FunctionBase
inputs
- a List>
of Evaluatable
sIllegalArgumentException
- if the inputs won't workpublic EvaluationResult evaluate(List inputs, EvaluationCtx context)
AnyURIAttribute
followed by one or more
StringAttribute
s, and returns an
AnyURIAttribute
.inputs
- the input agrument listcontext
- the representation of the requestCopyright © 2023 JBoss by Red Hat. All rights reserved.