Wrap a MethodBinding instance and expose it as a MethodExpression.
| Modifier and Type | Field and Description |
|---|---|
| private MethodBinding | binding
Deprecated
as a consequence of
MethodBinding being deprecated.
|
| private transient MethodInfo | |
| private static final long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| pack-priv | MethodExpressionMethodBindingAdapter(MethodBinding binding)
Deprecated
as a consequence of
MethodBinding 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 String | getExpressionString()
Implements abstract javax. Expression,
unmodified.
|
| public MethodInfo | getMethodInfo(ELContext
The context of this evaluation context)Implements abstract javax. |
| public MethodBinding | |
| public int | hashCode()
Implements abstract javax. Expression.
|
| public Object | invoke(ELContext
The context of this evaluation. context, Object[] The parameters to pass to the method, or
params)null if no parameters.Implements abstract javax. |
| public boolean | isLiteralText()
Implements abstract javax. |
| 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 newTransientMethod)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. |
| binding | back to summary |
|---|---|
| private MethodBinding binding
Deprecated as a consequence of | |
| info | back to summary |
|---|---|
| private transient MethodInfo info | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| tranzient | back to summary |
|---|---|
| private boolean tranzient | |
| MethodExpressionMethodBindingAdapter | back to summary |
|---|---|
| public MethodExpressionMethodBindingAdapter() | |
| MethodExpressionMethodBindingAdapter | back to summary |
|---|---|
| pack-priv MethodExpressionMethodBindingAdapter(MethodBinding 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() | |
| 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
| |
| getMethodInfo | back to summary |
|---|---|
| public MethodInfo getMethodInfo(ELContext context) throws ELException Implements abstract javax. Doc from javax. Evaluates the expression relative to the provided context, and returns information about the actual referenced method.
| |
| getWrapped | back to summary |
|---|---|
| public MethodBinding 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
| |
| invoke | back to summary |
|---|---|
| public Object invoke(ELContext context, Object[] params) throws ELException Implements abstract javax. Doc from javax. If a String literal is specified as the expression, returns the
String literal coerced to the expected return type of the method
signature. An
| |
| isLiteralText | back to summary |
|---|---|
| public boolean isLiteralText() Implements abstract javax. Doc from javax. Returns whether this expression was created from only literal text. This method must return
| |
| 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 newTransientMethod) Implements javax. Doc from javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
| |