java.lang.Object
jakarta.el.Expression
jakarta.el.ValueExpression
org.omnifaces.el.ValueExpressionWrapper
- All Implemented Interfaces:
FacesWrapper<ValueExpression>,Serializable
- Direct Known Subclasses:
CachingValueExpression
public class ValueExpressionWrapper
extends ValueExpression
implements FacesWrapper<ValueExpression>
Provides a simple implementation of ValueExpression that can
be sub-classed by developers wishing to provide specialized behavior
to an existing ValueExpression instance. The default
implementation of all methods is to call through to the wrapped
ValueExpression.
Usage: extend this class and provide the instance we are wrapping to the overloaded constructor.
- Author:
- Arjan Tijms
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionValueExpressionWrapper(ValueExpression wrapped) Construct the value expression wrapper. -
Method Summary
Modifier and TypeMethodDescriptionbooleanClass<?>Class<?><T> TgetValueReference(ELContext context) inthashCode()booleanbooleanisReadOnly(ELContext context) void
-
Constructor Details
-
ValueExpressionWrapper
Construct the value expression wrapper.- Parameters:
wrapped- The value expression to be wrapped.
-
-
Method Details
-
equals
- Specified by:
equalsin classExpression
-
getExpectedType
- Specified by:
getExpectedTypein classValueExpression
-
getExpressionString
- Specified by:
getExpressionStringin classExpression
-
getType
- Specified by:
getTypein classValueExpression
-
getValue
- Specified by:
getValuein classValueExpression
-
hashCode
public int hashCode()- Specified by:
hashCodein classExpression
-
isLiteralText
public boolean isLiteralText()- Specified by:
isLiteralTextin classExpression
-
isReadOnly
- Specified by:
isReadOnlyin classValueExpression
-
setValue
- Specified by:
setValuein classValueExpression
-
getValueReference
- Overrides:
getValueReferencein classValueExpression
-
getWrapped
- Specified by:
getWrappedin interfaceFacesWrapper<ValueExpression>
-