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, toStringAST
getChild, getChildCount, getEndPosition, getObjectClass, getPreviousChild, getStartPosition, getTypedValue, getValue, getValue, getValueRef, isWritable, nextChildIs, setValue
public OperatorMatches(int pos, SpelNodeImpl... operands)
public BooleanTypedValue getValueInternal(ExpressionState state) throws EvaluationException
getValueInternal
in class SpelNodeImpl
state
- the expression stateEvaluationException
- if there is a problem evaluating the expression (e.g.
the regex is invalid)