Wrap a ValueBinding instance and expose it as a ValueExpression.
| Modifier and Type | Field and Description |
|---|---|
| private ValueBinding | binding
Deprecated
as a consequence of
ValueBinding being deprecated.
|
| private static final long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | ValueExpressionValueBindingAdapter(ValueBinding binding)
Deprecated
as a consequence of
ValueBinding being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the other)Object to test for equality.Implements abstract javax. Expression.
|
| public String | |
| public Class | getExpectedType()
Implements abstract javax. |
| public String | getExpressionString()
Implements abstract javax. Expression,
unmodified.
|
| public Class | getType(ELContext
The context of this evaluation. context)Implements abstract javax. value parameter in a future call
to the setValue method.
|
| public Object | getValue(ELContext
The context of this evaluation. context)Implements abstract javax. |
| public ValueBinding | |
| public int | hashCode()
Implements abstract javax. Expression.
|
| public boolean | isLiteralText()
Implements abstract javax. Always return |
| public boolean | isReadOnly(ELContext
The context of this evaluation. context)Implements abstract javax. true if a call to setValue will
always fail.
|
| public boolean | isTransient()
Implements javax. If true, the Object implementing this interface must not participate in state saving or restoring. |
| private static Class | |
| public void | restoreState(FacesContext
the Faces context. context, Object the state. state)Implements javax. Perform any processing required to restore the state from the entries in the state Object. |
| public Object | saveState(FacesContext
the Faces context. context)Implements javax. Gets the state of the instance as a
|
| public void | setTransient(boolean
boolean pass newTransientValue)true if this
Object will not
participate in state saving or restoring, otherwise pass
false.Implements javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |
| public void | setValue(ELContext
The context of this evaluation. context, Object The new value to be set. value)Implements abstract javax. |
| binding | back to summary |
|---|---|
| private ValueBinding binding
Deprecated as a consequence of | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| tranzient | back to summary |
|---|---|
| private boolean tranzient | |
| ValueExpressionValueBindingAdapter | back to summary |
|---|---|
| public ValueExpressionValueBindingAdapter() | |
| ValueExpressionValueBindingAdapter | back to summary |
|---|---|
| pack-priv ValueExpressionValueBindingAdapter(ValueBinding binding)
Deprecated as a consequence of | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Implements abstract javax. Doc from javax. Determines whether the specified object is equal to this
The result is Note that two expressions can be equal if their expression
Strings are different. For example,
| |
| getDelimiterSyntax | back to summary |
|---|---|
| public String getDelimiterSyntax() | |
| getExpectedType | back to summary |
|---|---|
| public Class Implements abstract javax. Doc from javax. Returns the type the result of the expression will be coerced to after evaluation.
| |
| getExpressionString | back to summary |
|---|---|
| public String getExpressionString() Implements abstract javax. Doc from javax. Returns the original String used to create this This is used for debugging purposes but also for the purposes of comparison (e.g. to ensure the expression in a configuration file has not changed). This method does not provide sufficient information to
re-create an expression. Two different expressions can have exactly
the same expression string but different function mappings.
Serialization should be used to save and restore the state of an
| |
| getType | back to summary |
|---|---|
| public Class Implements abstract javax. Doc from javax. Evaluates the expression relative to the provided context, and
returns the most general type that is acceptable for an object to be
passed as the This is not always the same as
| |
| getValue | back to summary |
|---|---|
| public Object getValue(ELContext context) throws ELException Implements abstract javax. Doc from javax. Evaluates the expression relative to the provided context, and returns the resulting value. The resulting value is automatically coerced to the type
returned by
| |
| getWrapped | back to summary |
|---|---|
| public ValueBinding getWrapped()
Deprecated as a consequence of | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract javax. Doc from javax. Returns the hash code for this See the note in the
| |
| isLiteralText | back to summary |
|---|---|
| public boolean isLiteralText() Implements abstract javax. Always return
| |
| isReadOnly | back to summary |
|---|---|
| public boolean isReadOnly(ELContext context) throws ELException Implements abstract javax. Doc from javax. Evaluates the expression relative to the provided context, and
returns
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Implements javax. Doc from javax. If true, the Object implementing this interface must not participate in state saving or restoring.
| |
| loadClass | back to summary |
|---|---|
| private static Class | |
| restoreState | back to summary |
|---|---|
| public void restoreState(FacesContext context, Object state) Implements javax. Doc from javax. Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to
instances that also implement StateHolder (such as a
If the
| |
| saveState | back to summary |
|---|---|
| public Object saveState(FacesContext context) Implements javax. Doc from javax. Gets the state of the instance as a
If the class that implements this interface has references to
instances that implement StateHolder (such as a
This method must not alter the state of the implementing object. In other words, after executing this code:
The return from this method must be
| |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean newTransientValue) Implements javax. Doc from javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
| |
| setValue | back to summary |
|---|---|
| public void setValue(ELContext context, Object value) throws ELException Implements abstract javax. Doc from javax. Evaluates the expression relative to the provided context, and sets the result to the provided value.
| |