java.lang.Object | ||
↳ | org.springframework.expression.spel.ast.SpelNodeImpl | |
↳ | org.springframework.expression.spel.ast.Elvis |
Represents the elvis operator ?:. For an expression "a?:b" if a is not null, the value of the expression is "a", if a is null then the value of the expression is "b".
[Expand]
Inherited Fields | |||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.expression.spel.ast.SpelNodeImpl
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Evaluate the condition and if not null, return it.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.expression.spel.ast.SpelNodeImpl
| |||||||||||||||||||||||||||||||||||||||
From class java.lang.Object | |||||||||||||||||||||||||||||||||||||||
From interface
org.springframework.expression.spel.SpelNode
|
Evaluate the condition and if not null, return it. If it is null return the other value.
state | the expression state |
---|
EvaluationException | if the condition does not evaluate correctly to a boolean or there is a problem executing the chosen alternative |
---|