org.richfaces.component
Class AbstractParameter

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIParameter
              extended by org.richfaces.component.AbstractParameter
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ActionListener, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, org.ajax4jsf.component.JavaScriptParameter
Direct Known Subclasses:
UIParameter

public abstract class AbstractParameter
extends javax.faces.component.UIParameter
implements javax.faces.event.ActionListener, org.ajax4jsf.component.JavaScriptParameter

Version:
$Revision: 1.1.2.2 $ $Date: 2007/02/01 15:31:55 $
Author:
shura (latest modification by $Author: alexsmirnov $)

Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
AbstractParameter()
           
 
Method Summary
 void clearInitialState()
           
 javax.el.ValueExpression getAssignToExpression()
           
 javax.faces.convert.Converter getConverter()
           
 String getName()
           
 Object getValue()
           
abstract  boolean isNoEscape()
          ********************************************************
 void markInitialState()
           
 void processAction(javax.faces.event.ActionEvent actionEvent)
           
 void restoreState(javax.faces.context.FacesContext context, Object state)
           
 Object saveState(javax.faces.context.FacesContext context)
           
 void setAssignToExpression(javax.el.ValueExpression ve)
           
 void setConverter(javax.faces.convert.Converter converter)
           
abstract  void setNoEscape(boolean noEscape)
           
 
Methods inherited from class javax.faces.component.UIParameter
getFamily, isDisable, setDisable, setName, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values
Constructor Detail

AbstractParameter

public AbstractParameter()
Method Detail

isNoEscape

public abstract boolean isNoEscape()
********************************************************

Specified by:
isNoEscape in interface org.ajax4jsf.component.JavaScriptParameter

setNoEscape

public abstract void setNoEscape(boolean noEscape)
Specified by:
setNoEscape in interface org.ajax4jsf.component.JavaScriptParameter

setAssignToExpression

public void setAssignToExpression(javax.el.ValueExpression ve)

getAssignToExpression

public javax.el.ValueExpression getAssignToExpression()

setConverter

public void setConverter(javax.faces.convert.Converter converter)

getConverter

public javax.faces.convert.Converter getConverter()

processAction

public void processAction(javax.faces.event.ActionEvent actionEvent)
                   throws javax.faces.event.AbortProcessingException
Specified by:
processAction in interface javax.faces.event.ActionListener
Throws:
javax.faces.event.AbortProcessingException

getName

public String getName()
Overrides:
getName in class javax.faces.component.UIParameter

getValue

public Object getValue()
Overrides:
getValue in class javax.faces.component.UIParameter

markInitialState

public void markInitialState()
Specified by:
markInitialState in interface javax.faces.component.PartialStateHolder
Overrides:
markInitialState in class javax.faces.component.UIComponentBase

clearInitialState

public void clearInitialState()
Specified by:
clearInitialState in interface javax.faces.component.PartialStateHolder
Overrides:
clearInitialState in class javax.faces.component.UIComponentBase

saveState

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

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder
Overrides:
restoreState in class javax.faces.component.UIComponentBase


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.