public class CAFValueExpression extends ValueExpression
Modifier and Type | Field and Description |
---|---|
protected static Pattern |
RE_BINDING |
protected boolean |
shouldSuppressWarning |
protected static ThreadLocal<Boolean> |
shouldSuppressWarningForThread |
protected ValueExpression |
wrappedValueBinding |
Constructor and Description |
---|
CAFValueExpression()
This should only be called when restoring state
|
CAFValueExpression(Application application,
ValueExpression wrappedValueBinding) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object thatObj) |
Object |
getCAFValue(ELContext elContext) |
Class<?> |
getExpectedType() |
protected String |
getExpressionsForDisplay()
Gets just the binding expression bits for display in error message.
|
String |
getExpressionString() |
boolean |
getShouldSuppressWarning() |
static Boolean |
getShouldSuppressWarningForThread()
Returns whether to suppress the warnings for any expressions evaluated in the current thread
|
Class<?> |
getType(ELContext elContext) |
Object |
getValue(ELContext elContext) |
ValueReference |
getValueReference(ELContext context) |
int |
hashCode() |
boolean |
isLiteralText() |
boolean |
isReadOnly(ELContext elContext) |
void |
setShouldSuppressWarning(boolean shouldSuppressWarning) |
static void |
setShouldSuppressWarningForThread(Boolean shouldSuppressWarning)
Sets whether to suppress the warnings for any expressions evaluated in the current thread.
|
void |
setValue(ELContext elContext,
Object value) |
protected static final Pattern RE_BINDING
protected boolean shouldSuppressWarning
protected ValueExpression wrappedValueBinding
protected static ThreadLocal<Boolean> shouldSuppressWarningForThread
public CAFValueExpression()
public CAFValueExpression(Application application, ValueExpression wrappedValueBinding)
public static Boolean getShouldSuppressWarningForThread()
public static void setShouldSuppressWarningForThread(Boolean shouldSuppressWarning)
shouldSuppressWarning
- true/false or nullpublic boolean getShouldSuppressWarning()
public void setShouldSuppressWarning(boolean shouldSuppressWarning)
protected String getExpressionsForDisplay()
public Class<?> getExpectedType()
getExpectedType
in class ValueExpression
public Class<?> getType(ELContext elContext)
getType
in class ValueExpression
public Object getValue(ELContext elContext)
getValue
in class ValueExpression
public boolean isReadOnly(ELContext elContext)
isReadOnly
in class ValueExpression
public void setValue(ELContext elContext, Object value)
setValue
in class ValueExpression
public boolean equals(Object thatObj)
equals
in class Expression
public String getExpressionString()
getExpressionString
in class Expression
public int hashCode()
hashCode
in class Expression
public boolean isLiteralText()
isLiteralText
in class Expression
public ValueReference getValueReference(ELContext context)
getValueReference
in class ValueExpression