com.ibm.xsp.actions.client
Class ComponentPublishPropertyAction

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by com.ibm.xsp.binding.MethodBindingEx
          extended by com.ibm.xsp.actions.client.AbstractClientSimpleAction
              extended by com.ibm.xsp.actions.client.ComponentPublishPropertyAction
All Implemented Interfaces:
ClientSimpleAction, ComponentBindingObject, ValueBindingObject, javax.faces.component.StateHolder

public class ComponentPublishPropertyAction
extends AbstractClientSimpleAction

Not intended to be subclassed


Field Summary
 
Fields inherited from class com.ibm.xsp.binding.MethodBindingEx
ENABLE_SOURCEID
 
Constructor Summary
ComponentPublishPropertyAction()
           
 
Method Summary
static void generatePublishEvent(java.lang.StringBuilder b, java.lang.String name, java.lang.Object value, java.lang.String type)
          Generate the XSP.publishEvent() JavaScript code into the StringBuilder param.
 java.lang.String getName()
           
 java.lang.String getType()
           
 java.lang.Object getValue()
           
 java.lang.Object invoke(javax.faces.context.FacesContext context, java.lang.Object[] params)
          Return the generated XSP.publishEvent() JavaScript code for the name property and value property
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object value)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setName(java.lang.String name)
           
 void setType(java.lang.String type)
           
 void setValue(java.lang.Object value)
           
 
Methods inherited from class com.ibm.xsp.actions.client.AbstractClientSimpleAction
getExpressionString, getType
 
Methods inherited from class com.ibm.xsp.binding.MethodBindingEx
getComponent, getFacesContext, getParamNames, getParent, getSourceReferenceId, getValueBinding, isTransient, normalizePageName, setComponent, setParamNames, setParent, setSourceReferenceId, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentPublishPropertyAction

public ComponentPublishPropertyAction()
Method Detail

getName

public java.lang.String getName()
Returns:
Return the value of the name property

setName

public void setName(java.lang.String name)
Parameters:
Set - the value of the name property

getValue

public java.lang.Object getValue()
Returns:
Return the the value of the value property

setValue

public void setValue(java.lang.Object value)
Parameters:
Set - the value of the valueproperty

getType

public java.lang.String getType()
Returns:
Return the valuse of the type property

setType

public void setType(java.lang.String type)
Parameters:
Set - the value of the type property

saveState

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

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object value)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class MethodBindingEx

invoke

public java.lang.Object invoke(javax.faces.context.FacesContext context,
                               java.lang.Object[] params)
                        throws javax.faces.el.EvaluationException,
                               javax.faces.el.MethodNotFoundException
Return the generated XSP.publishEvent() JavaScript code for the name property and value property

Specified by:
invoke in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException

generatePublishEvent

public static void generatePublishEvent(java.lang.StringBuilder b,
                                        java.lang.String name,
                                        java.lang.Object value,
                                        java.lang.String type)
Generate the XSP.publishEvent() JavaScript code into the StringBuilder param.