|
Préférences
Moteurs de recherche
|
||||||||||||||
JavaTM Platform, Enterprise Edition, v 5.0
javax.faces.el
|
Constructor Summary | |
---|---|
MethodBinding()
Deprecated. |
Method Summary | |
---|---|
String |
getExpressionString()
Deprecated. Return the (possibly null ) expression String,
with leading and trailing delimiters, from which this
MethodBinding was built. |
abstract Class |
getType(FacesContext context)
Deprecated. Return the Java class representing the return type from the method identified by this method binding expression. |
abstract Object |
invoke(FacesContext context,
Object[] params)
Deprecated. Return the return value (if any) resulting from a call to the method identified by this method binding expression, passing it the specified parameters, relative to the specified FacesContext . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodBinding()
Method Detail |
---|
public abstract Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException
Return the return value (if any) resulting from a call to the
method identified by this method binding expression, passing it
the specified parameters, relative to the specified FacesContext
.
context
- FacesContext
for the current requestparams
- Array of parameters to be passed to the called method,
or null
for no parameters
EvaluationException
- if an exception is thrown
by the called method (the thrown exception must be included as the
cause
property of this exception)
MethodNotFoundException
- if no suitable method can be found
NullPointerException
- if context
is null
public abstract Class getType(FacesContext context) throws MethodNotFoundException
Return the Java class representing the return type from the method identified by this method binding expression.
context
- FacesContext
for the current request
MethodNotFoundException
- if no suitable method can be found
NullPointerException
- if context
is null
public String getExpressionString()
Return the (possibly null
) expression String,
with leading and trailing delimiters, from which this
MethodBinding
was built. The default implementation
returns null
.