true when getValue is called
if the first operand matches the regex.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | MAX_REGEX_LENGTH
Maximum number of characters permitted in a regular expression. |
| private static final int | |
| private final ConcurrentMap |
| Access | Constructor and Description |
|---|---|
| public | OperatorMatches(int startPos, int endPos, SpelNodeImpl... operands)
Deprecated
since 5.2.23. as of Spring Framework 5.2.23 in favor of invoking
Create a new OperatorMatches(ConcurrentMap, int, int, SpelNodeImpl.
with a shared pattern cache instead
OperatorMatches instance.
|
| public | OperatorMatches(ConcurrentMap<String, Pattern> patternCache, int startPos, int endPos, SpelNodeImpl... operands)
Create a new |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public BooleanTypedValue | Returns: true if the first operand matches the regex specified as the
second operand, otherwise falsethe expression state state)Implements abstract org. |
| MAX_REGEX_LENGTH | back to summary |
|---|---|
| private static final int MAX_REGEX_LENGTH Maximum number of characters permitted in a regular expression.
| |
| PATTERN_ACCESS_THRESHOLD | back to summary |
|---|---|
| private static final int PATTERN_ACCESS_THRESHOLD | |
| patternCache | back to summary |
|---|---|
| private final ConcurrentMap<String, Pattern> patternCache | |
| OperatorMatches | back to summary |
|---|---|
| public OperatorMatches(int startPos, int endPos, SpelNodeImpl... operands)
Deprecated since 5.2.23. as of Spring Framework 5.2.23 in favor of invoking
Create a new
| |
| OperatorMatches | back to summary |
|---|---|
| public OperatorMatches(ConcurrentMap<String, Pattern> patternCache, int startPos, int endPos, SpelNodeImpl... operands) Create a new
| |
| checkRegexLength | back to summary |
|---|---|
| private void checkRegexLength(String regex) | |
| getValueInternal | back to summary |
|---|---|
| public BooleanTypedValue getValueInternal(ExpressionState state) throws EvaluationException Implements abstract org. Check the first operand matches the regex specified as the second operand.
| |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| count | back to summary |
|---|---|
| private int count | |
| AccessCount | back to summary |
|---|---|
| private AccessCount() | |
| check | back to summary |
|---|---|
| public void check() throws IllegalStateException | |
| Modifier and Type | Field and Description |
|---|---|
| private final OperatorMatches. | |
| private final CharSequence |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public char | charAt(int
the index of the index)char value to be returnedImplements java. char value at the specified index.
|
| public int | |
| public CharSequence | subSequence(int
the start index, inclusive start, int the end index, exclusive end)Implements java. CharSequence that is a subsequence of this sequence.
|
| public String | toString()
Overrides java. Implements java. |
| access | back to summary |
|---|---|
| private final OperatorMatches. | |
| value | back to summary |
|---|---|
| private final CharSequence value | |
| MatcherInput | back to summary |
|---|---|
| public MatcherInput(CharSequence value, OperatorMatches. | |
| charAt | back to summary |
|---|---|
| public char charAt(int index) Implements java. Doc from java. Returns the If the
| |
| length | back to summary |
|---|---|
| public int length() Implements java. Doc from java. Returns the length of this character sequence. The length is the number
of 16-bit
| |
| subSequence | back to summary |
|---|---|
| public CharSequence subSequence(int start, int end) Implements java. Doc from java. Returns a
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Implements java. Doc from java. Returns a string containing the characters in this sequence in the same order as this sequence. The length of the string will be the length of this sequence. | |