Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.myfaces.el
Class MethodBindingImpl  view MethodBindingImpl download MethodBindingImpl.java

java.lang.Object
  extended byjavax.faces.el.MethodBinding
      extended byorg.apache.myfaces.el.MethodBindingImpl
All Implemented Interfaces:
javax.faces.component.StateHolder

public class MethodBindingImpl
extends javax.faces.el.MethodBinding
implements javax.faces.component.StateHolder

Version:
$Revision: 278654 $ $Date: 2005-09-04 20:32:35 -0400 (Sun, 04 Sep 2005) $

Field Summary
(package private)  java.lang.Class[] _argClasses
           
private  boolean _transient
           
(package private)  ValueBindingImpl _valueBinding
           
(package private) static org.apache.commons.logging.Log log
           
 
Constructor Summary
MethodBindingImpl()
          Empty constructor, so that new instances can be created when restoring state.
MethodBindingImpl(javax.faces.application.Application application, java.lang.String reference, java.lang.Class[] argClasses)
           
 
Method Summary
 java.lang.String getExpressionString()
           
 java.lang.Class getType(javax.faces.context.FacesContext facesContext)
           
 java.lang.Object invoke(javax.faces.context.FacesContext facesContext, java.lang.Object[] args)
           
 boolean isTransient()
           
protected  java.lang.Object[] resolveToBaseAndProperty(javax.faces.context.FacesContext facesContext)
           
 void restoreState(javax.faces.context.FacesContext facescontext, java.lang.Object obj)
           
 java.lang.Object saveState(javax.faces.context.FacesContext facescontext)
           
 void setTransient(boolean flag)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

static final org.apache.commons.logging.Log log

_valueBinding

ValueBindingImpl _valueBinding

_argClasses

java.lang.Class[] _argClasses

_transient

private boolean _transient
Constructor Detail

MethodBindingImpl

public MethodBindingImpl(javax.faces.application.Application application,
                         java.lang.String reference,
                         java.lang.Class[] argClasses)

MethodBindingImpl

public MethodBindingImpl()
Empty constructor, so that new instances can be created when restoring state.

Method Detail

getExpressionString

public java.lang.String getExpressionString()

getType

public java.lang.Class getType(javax.faces.context.FacesContext facesContext)

invoke

public java.lang.Object invoke(javax.faces.context.FacesContext facesContext,
                               java.lang.Object[] args)
                        throws javax.faces.el.EvaluationException,
                               javax.faces.el.MethodNotFoundException

resolveToBaseAndProperty

protected java.lang.Object[] resolveToBaseAndProperty(javax.faces.context.FacesContext facesContext)
                                               throws javax.servlet.jsp.el.ELException

toString

public java.lang.String toString()
Description copied from class: java.lang.Object
Convert this Object to a human-readable String. There are no limits placed on how long this String should be or what it should contain. We suggest you make it as intuitive as possible to be able to place it into System.out.println() 55 and such.

It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.

This method will be called when performing string concatenation with this object. If the result is null, string concatenation will instead use "null".

The default implementation returns getClass().getName() + "@" + Integer.toHexString(hashCode()).


saveState

public java.lang.Object saveState(javax.faces.context.FacesContext facescontext)
Specified by:
saveState in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext facescontext,
                         java.lang.Object obj)
Specified by:
restoreState in interface javax.faces.component.StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean flag)
Specified by:
setTransient in interface javax.faces.component.StateHolder