public class OperatorMatches extends Operator
children, pos| Constructor and Description |
|---|
OperatorMatches(int pos,
SpelNodeImpl... operands) |
| Modifier and Type | Method and Description |
|---|---|
BooleanTypedValue |
getValueInternal(ExpressionState state)
Check the first operand matches the regex specified as the second operand.
|
equalityCheck, getLeftOperand, getOperatorName, getRightOperand, toStringASTgetChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, getValueRef, isWritable, nextChildIs, setValuepublic OperatorMatches(int pos,
SpelNodeImpl... operands)
public BooleanTypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal in class SpelNodeImplstate - the expression stateEvaluationException - if there is a problem evaluating the expression (e.g.
the regex is invalid)