Class ClientBehaviorRedirectEventComponentWrapper
- java.lang.Object
- 
- jakarta.faces.component.UIComponent
- 
- org.apache.myfaces.view.facelets.tag.composite.ClientBehaviorRedirectEventComponentWrapper
 
 
- 
- All Implemented Interfaces:
- ClientBehaviorHolder,- PartialStateHolder,- StateHolder,- TransientStateHolder,- ComponentSystemEventListener,- FacesListener,- SystemEventListenerHolder,- FacesWrapper<UIComponent>,- EventListener
 
 public class ClientBehaviorRedirectEventComponentWrapper extends UIComponent implements FacesWrapper<UIComponent>, ClientBehaviorHolder This class has two usages: 1. On ClientBehaviorAttachedObjectTargetImpl to redirect the incoming sourceEvent to the final targetEvent. 2. On FaceletsViewDeclarationLanguage.retargetAttachedObjects to redirect too, but this time is to allow chain events for nested composite components. This class also implements FacesWrapper interface, to make possible to retrieve the real component if necessary.- Version:
- $Revision$ $Date$
- Author:
- Leonardo Uribe (latest modification by $Author$)
 
- 
- 
Field Summary- 
Fields inherited from class jakarta.faces.component.UIComponentATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, FACETS_KEY, VIEW_LOCATION_KEY
 
- 
 - 
Constructor SummaryConstructors Constructor Description ClientBehaviorRedirectEventComponentWrapper(UIComponent composite, UIComponent delegate, String sourceEvent, String targetEvent, jakarta.el.ValueExpression targets)
 - 
Method Summary- 
Methods inherited from class jakarta.faces.component.UIComponentgetCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getPassThroughAttributes, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, isCompositeComponent, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState
 
- 
 
- 
- 
- 
Constructor Detail- 
ClientBehaviorRedirectEventComponentWrapperpublic ClientBehaviorRedirectEventComponentWrapper(UIComponent composite, UIComponent delegate, String sourceEvent, String targetEvent, jakarta.el.ValueExpression targets) 
 
- 
 - 
Method Detail- 
getWrappedpublic UIComponent getWrapped() - Specified by:
- getWrappedin interface- FacesWrapper<UIComponent>
 
 - 
addClientBehaviorpublic void addClientBehavior(String eventName, ClientBehavior behavior) - Specified by:
- addClientBehaviorin interface- ClientBehaviorHolder
 
 - 
getClientBehaviorspublic Map<String,List<ClientBehavior>> getClientBehaviors() - Specified by:
- getClientBehaviorsin interface- ClientBehaviorHolder
 
 - 
getDefaultEventNamepublic String getDefaultEventName() - Specified by:
- getDefaultEventNamein interface- ClientBehaviorHolder
 
 - 
getEventNamespublic Collection<String> getEventNames() - Specified by:
- getEventNamesin interface- ClientBehaviorHolder
 
 - 
broadcastpublic void broadcast(FacesEvent event) throws AbortProcessingException - Specified by:
- broadcastin class- UIComponent
- Throws:
- AbortProcessingException
 
 - 
clearInitialStatepublic void clearInitialState() - Specified by:
- clearInitialStatein interface- PartialStateHolder
- Overrides:
- clearInitialStatein class- UIComponent
 
 - 
decodepublic void decode(FacesContext context) - Specified by:
- decodein class- UIComponent
 
 - 
encodeAllpublic void encodeAll(FacesContext context) throws IOException - Overrides:
- encodeAllin class- UIComponent
- Throws:
- IOException
 
 - 
encodeBeginpublic void encodeBegin(FacesContext context) throws IOException - Specified by:
- encodeBeginin class- UIComponent
- Throws:
- IOException
 
 - 
encodeChildrenpublic void encodeChildren(FacesContext context) throws IOException - Specified by:
- encodeChildrenin class- UIComponent
- Throws:
- IOException
 
 - 
encodeEndpublic void encodeEnd(FacesContext context) throws IOException - Specified by:
- encodeEndin class- UIComponent
- Throws:
- IOException
 
 - 
findComponentpublic UIComponent findComponent(String expr) - Specified by:
- findComponentin class- UIComponent
 
 - 
getAttributespublic Map<String,Object> getAttributes() - Specified by:
- getAttributesin class- UIComponent
 
 - 
getChildCountpublic int getChildCount() - Specified by:
- getChildCountin class- UIComponent
 
 - 
getChildrenpublic List<UIComponent> getChildren() - Specified by:
- getChildrenin class- UIComponent
 
 - 
getClientIdpublic String getClientId() - Overrides:
- getClientIdin class- UIComponent
 
 - 
getClientIdpublic String getClientId(FacesContext context) - Specified by:
- getClientIdin class- UIComponent
 
 - 
getContainerClientIdpublic String getContainerClientId(FacesContext ctx) - Overrides:
- getContainerClientIdin class- UIComponent
 
 - 
getFacetpublic UIComponent getFacet(String name) - Specified by:
- getFacetin class- UIComponent
 
 - 
getFacetCountpublic int getFacetCount() - Overrides:
- getFacetCountin class- UIComponent
 
 - 
getFacetspublic Map<String,UIComponent> getFacets() - Specified by:
- getFacetsin class- UIComponent
 
 - 
getFacetsAndChildrenpublic Iterator<UIComponent> getFacetsAndChildren() - Specified by:
- getFacetsAndChildrenin class- UIComponent
 
 - 
getFamilypublic String getFamily() - Specified by:
- getFamilyin class- UIComponent
 
 - 
getIdpublic String getId() - Specified by:
- getIdin class- UIComponent
 
 - 
getListenersForEventClasspublic List<SystemEventListener> getListenersForEventClass(Class<? extends SystemEvent> eventClass) - Specified by:
- getListenersForEventClassin interface- SystemEventListenerHolder
- Overrides:
- getListenersForEventClassin class- UIComponent
 
 - 
getNamingContainerpublic UIComponent getNamingContainer() - Overrides:
- getNamingContainerin class- UIComponent
 
 - 
getParentpublic UIComponent getParent() - Specified by:
- getParentin class- UIComponent
 
 - 
getRendererTypepublic String getRendererType() - Specified by:
- getRendererTypein class- UIComponent
 
 - 
getRendersChildrenpublic boolean getRendersChildren() - Specified by:
- getRendersChildrenin class- UIComponent
 
 - 
getResourceBundleMappublic Map<String,String> getResourceBundleMap() - Overrides:
- getResourceBundleMapin class- UIComponent
 
 - 
getValueExpressionpublic jakarta.el.ValueExpression getValueExpression(String name) - Overrides:
- getValueExpressionin class- UIComponent
 
 - 
initialStateMarkedpublic boolean initialStateMarked() - Specified by:
- initialStateMarkedin interface- PartialStateHolder
- Overrides:
- initialStateMarkedin class- UIComponent
 
 - 
invokeOnComponentpublic boolean invokeOnComponent(FacesContext context, String clientId, ContextCallback callback) throws FacesException - Overrides:
- invokeOnComponentin class- UIComponent
- Throws:
- FacesException
 
 - 
isInViewpublic boolean isInView() - Overrides:
- isInViewin class- UIComponent
 
 - 
isRenderedpublic boolean isRendered() - Specified by:
- isRenderedin class- UIComponent
 
 - 
isTransientpublic boolean isTransient() - Specified by:
- isTransientin interface- StateHolder
 
 - 
markInitialStatepublic void markInitialState() - Specified by:
- markInitialStatein interface- PartialStateHolder
- Overrides:
- markInitialStatein class- UIComponent
 
 - 
processDecodespublic void processDecodes(FacesContext context) - Specified by:
- processDecodesin class- UIComponent
 
 - 
processEventpublic void processEvent(ComponentSystemEvent event) throws AbortProcessingException - Specified by:
- processEventin interface- ComponentSystemEventListener
- Overrides:
- processEventin class- UIComponent
- Throws:
- AbortProcessingException
 
 - 
processRestoreStatepublic void processRestoreState(FacesContext context, Object state) - Specified by:
- processRestoreStatein class- UIComponent
 
 - 
processSaveStatepublic Object processSaveState(FacesContext context) - Specified by:
- processSaveStatein class- UIComponent
 
 - 
processUpdatespublic void processUpdates(FacesContext context) - Specified by:
- processUpdatesin class- UIComponent
 
 - 
processValidatorspublic void processValidators(FacesContext context) - Specified by:
- processValidatorsin class- UIComponent
 
 - 
queueEventpublic void queueEvent(FacesEvent event) - Specified by:
- queueEventin class- UIComponent
 
 - 
restoreStatepublic void restoreState(FacesContext context, Object state) - Specified by:
- restoreStatein interface- StateHolder
 
 - 
saveStatepublic Object saveState(FacesContext context) - Specified by:
- saveStatein interface- StateHolder
 
 - 
setIdpublic void setId(String id) - Specified by:
- setIdin class- UIComponent
 
 - 
setInViewpublic void setInView(boolean isInView) - Overrides:
- setInViewin class- UIComponent
 
 - 
setParentpublic void setParent(UIComponent parent) - Specified by:
- setParentin class- UIComponent
 
 - 
setRenderedpublic void setRendered(boolean rendered) - Specified by:
- setRenderedin class- UIComponent
 
 - 
setRendererTypepublic void setRendererType(String rendererType) - Specified by:
- setRendererTypein class- UIComponent
 
 - 
setTransientpublic void setTransient(boolean newTransientValue) - Specified by:
- setTransientin interface- StateHolder
 
 - 
setValueExpressionpublic void setValueExpression(String name, jakarta.el.ValueExpression expression) - Overrides:
- setValueExpressionin class- UIComponent
 
 - 
subscribeToEventpublic void subscribeToEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) - Overrides:
- subscribeToEventin class- UIComponent
 
 - 
unsubscribeFromEventpublic void unsubscribeFromEvent(Class<? extends SystemEvent> eventClass, ComponentSystemEventListener componentListener) - Overrides:
- unsubscribeFromEventin class- UIComponent
 
 - 
visitTreepublic boolean visitTree(VisitContext context, VisitCallback callback) - Overrides:
- visitTreein class- UIComponent
 
 - 
getFacesContextprotected FacesContext getFacesContext() - Specified by:
- getFacesContextin class- UIComponent
 
 - 
addFacesListenerprotected void addFacesListener(FacesListener listener) - Specified by:
- addFacesListenerin class- UIComponent
 
 - 
getFacesListenersprotected FacesListener[] getFacesListeners(Class clazz) - Specified by:
- getFacesListenersin class- UIComponent
 
 - 
getRendererprotected Renderer getRenderer(FacesContext context) - Specified by:
- getRendererin class- UIComponent
 
 - 
removeFacesListenerprotected void removeFacesListener(FacesListener listener) - Specified by:
- removeFacesListenerin class- UIComponent
 
 - 
getPassThroughAttributespublic Map<String,Object> getPassThroughAttributes(boolean create) - Overrides:
- getPassThroughAttributesin class- UIComponent
 
 - 
getCompositepublic UIComponent getComposite() 
 - 
getDelegatepublic UIComponent getDelegate() 
 - 
getTargetspublic jakarta.el.ValueExpression getTargets() 
 
- 
 
-