Class ValueRef.NullValueRef
- java.lang.Object
 - org.springframework.expression.spel.ast.ValueRef.NullValueRef
 
- All Implemented Interfaces:
 ValueRef
- Enclosing interface:
 - ValueRef
 
public static class ValueRef.NullValueRef extends Object implements ValueRef
A ValueRef for the null value.
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.expression.spel.ast.ValueRef
ValueRef.NullValueRef, ValueRef.TypedValueHolderValueRef
Constructor Summary
Constructors Constructor Description NullValueRef()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypedValuegetValue()Returns the value this ValueRef points to, it should not require expression component re-evaluation.booleanisWritable()Indicates whether calling setValue(Object) is supported.voidsetValue(Object newValue)Sets the value this ValueRef points to, it should not require expression component re-evaluation.
Constructor Detail
NullValueRef
public NullValueRef()
Method Detail
getValue
public TypedValue getValue()
Description copied from interface:ValueRefReturns the value this ValueRef points to, it should not require expression component re-evaluation.
setValue
public void setValue(Object newValue)
Description copied from interface:ValueRefSets the value this ValueRef points to, it should not require expression component re-evaluation.
isWritable
public boolean isWritable()
Description copied from interface:ValueRefIndicates whether calling setValue(Object) is supported.- Specified by:
 isWritablein interfaceValueRef- Returns:
 - true if setValue() is supported for this value reference.