com.sun.faces.application
Class MethodExpressionMethodBindingAdapter

java.lang.Object
  extended by javax.el.Expression
      extended by javax.el.MethodExpression
          extended by com.sun.faces.application.MethodExpressionMethodBindingAdapter
All Implemented Interfaces:
java.io.Serializable, javax.faces.component.StateHolder

public class MethodExpressionMethodBindingAdapter
extends javax.el.MethodExpression
implements java.io.Serializable, javax.faces.component.StateHolder

Wrap a MethodBinding instance and expose it as a MethodExpression.

See Also:
Serialized Form

Field Summary
private  javax.faces.el.MethodBinding binding
           
private  javax.el.MethodInfo info
           
private static long serialVersionUID
           
private  boolean tranzient
           
 
Constructor Summary
MethodExpressionMethodBindingAdapter()
           
MethodExpressionMethodBindingAdapter(javax.faces.el.MethodBinding binding)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getDelimiterSyntax()
           
 java.lang.String getExpressionString()
           
 javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
           
 javax.faces.el.MethodBinding getWrapped()
           
 int hashCode()
           
 java.lang.Object invoke(javax.el.ELContext context, java.lang.Object[] params)
           
 boolean isLiteralText()
           
 boolean isTransient()
           
private static java.lang.Class loadClass(java.lang.String name, java.lang.Object fallbackClass)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setTransient(boolean newTransientMethod)
           
 
Methods inherited from class javax.el.MethodExpression
isParmetersProvided
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

binding

private javax.faces.el.MethodBinding binding

info

private transient javax.el.MethodInfo info

tranzient

private boolean tranzient
Constructor Detail

MethodExpressionMethodBindingAdapter

public MethodExpressionMethodBindingAdapter()

MethodExpressionMethodBindingAdapter

public MethodExpressionMethodBindingAdapter(javax.faces.el.MethodBinding binding)
Method Detail

getMethodInfo

public javax.el.MethodInfo getMethodInfo(javax.el.ELContext context)
                                  throws javax.el.ELException
Specified by:
getMethodInfo in class javax.el.MethodExpression
Throws:
javax.el.ELException

invoke

public java.lang.Object invoke(javax.el.ELContext context,
                               java.lang.Object[] params)
                        throws javax.el.ELException
Specified by:
invoke in class javax.el.MethodExpression
Throws:
javax.el.ELException

getExpressionString

public java.lang.String getExpressionString()
Specified by:
getExpressionString in class javax.el.Expression

isLiteralText

public boolean isLiteralText()
Specified by:
isLiteralText in class javax.el.Expression

equals

public boolean equals(java.lang.Object other)
Specified by:
equals in class javax.el.Expression

hashCode

public int hashCode()
Specified by:
hashCode in class javax.el.Expression

getDelimiterSyntax

public java.lang.String getDelimiterSyntax()

saveState

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

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
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 newTransientMethod)
Specified by:
setTransient in interface javax.faces.component.StateHolder

loadClass

private static java.lang.Class loadClass(java.lang.String name,
                                         java.lang.Object fallbackClass)
                                  throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

getWrapped

public javax.faces.el.MethodBinding getWrapped()


Copyright 2002-2011 Oracle America, Inc. All Rights Reserved.