com.ibm.xsp.binding
Class MethodBindingEx

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by com.ibm.xsp.binding.MethodBindingEx
All Implemented Interfaces:
ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder
Direct Known Subclasses:
AbstractClientSimpleAction, AbstractConfirmAction, AbstractDocumentAction, AbstractIndexAction, ActionGroup, ExecuteScriptAction, SaveAction, SetValueAction

public abstract class MethodBindingEx
extends javax.faces.el.MethodBinding
implements ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder


Field Summary
static boolean ENABLE_SOURCEID
           
 
Constructor Summary
MethodBindingEx()
          Construct an AbstractMethodBindingEx instance
 
Method Summary
 javax.faces.component.UIComponent getComponent()
          Return the associated UIComponent instance.
protected  javax.faces.context.FacesContext getFacesContext()
           
 java.lang.String[] getParamNames()
           
 ActionGroup getParent()
           
 java.lang.String getSourceReferenceId()
           
 javax.faces.el.ValueBinding getValueBinding(java.lang.String name)
          Return the ValueBinding instance to used to calculate the value for the specified property.
 boolean isTransient()
           
protected  java.lang.String normalizePageName(javax.faces.context.FacesContext context, java.lang.String name)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setComponent(javax.faces.component.UIComponent component)
          This will be called while constructing the component and the UIComponent tree, so no processing should be performed at this stage.
 void setParamNames(java.lang.String[] names)
           
 void setParent(ActionGroup parent)
           
 void setSourceReferenceId(java.lang.String sourceReferenceId)
           
 void setTransient(boolean isTransient)
           
 void setValueBinding(java.lang.String name, javax.faces.el.ValueBinding binding)
          Set the ValueBinding instance to used to calculate the value for the specified property.
 
Methods inherited from class javax.faces.el.MethodBinding
getExpressionString, getType, invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ENABLE_SOURCEID

public static boolean ENABLE_SOURCEID
Constructor Detail

MethodBindingEx

public MethodBindingEx()
Construct an AbstractMethodBindingEx instance

Method Detail

getParamNames

public java.lang.String[] getParamNames()
Returns:
Returns the parameter names.

setParamNames

public void setParamNames(java.lang.String[] names)
Parameters:
names - The parameter names to set.

getSourceReferenceId

public java.lang.String getSourceReferenceId()
Returns:
Returns the sourceReferenceId.

setSourceReferenceId

public void setSourceReferenceId(java.lang.String sourceReferenceId)
Parameters:
sourceReferenceId - The sourceReferenceId to set.

getParent

public ActionGroup getParent()
Returns:
the parent

setParent

public void setParent(ActionGroup parent)
Parameters:
parent - the parent to set

getFacesContext

protected final javax.faces.context.FacesContext getFacesContext()

normalizePageName

protected java.lang.String normalizePageName(javax.faces.context.FacesContext context,
                                             java.lang.String name)

setComponent

public void setComponent(javax.faces.component.UIComponent component)
Description copied from interface: ComponentBindingObject
This will be called while constructing the component and the UIComponent tree, so no processing should be performed at this stage.

Specified by:
setComponent in interface ComponentBindingObject

getComponent

public javax.faces.component.UIComponent getComponent()
Description copied from interface: ComponentBindingObject
Return the associated UIComponent instance.

Specified by:
getComponent in interface ComponentBindingObject
Returns:
the associated UIComponent instance

getValueBinding

public javax.faces.el.ValueBinding getValueBinding(java.lang.String name)
Description copied from interface: ValueBindingObject
Return the ValueBinding instance to used to calculate the value for the specified property.

Specified by:
getValueBinding in interface ValueBindingObject
Parameters:
name - Name of the property
Returns:
ValueBinding instance to used to calculate the value for the specified property

setValueBinding

public void setValueBinding(java.lang.String name,
                            javax.faces.el.ValueBinding binding)
Description copied from interface: ValueBindingObject
Set the ValueBinding instance to used to calculate the value for the specified property.

Specified by:
setValueBinding in interface ValueBindingObject
Parameters:
name - Name of the property
binding - The ValueBinding to set, or null to remove an existing ValueBinding

isTransient

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

setTransient

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

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 value)
Specified by:
restoreState in interface javax.faces.component.StateHolder