Package jakarta.faces.view
Interface AttachedObjectHandler
- All Known Subinterfaces:
ActionSource2AttachedObjectHandler
,BehaviorHolderAttachedObjectHandler
,EditableValueHolderAttachedObjectHandler
,ValueHolderAttachedObjectHandler
- All Known Implementing Classes:
ActionListenerHandler
,ActionListenerHandlerBase
,AjaxHandler
,BehaviorHandler
,ConvertDateTimeHandler
,ConvertDelegateHandler
,ConverterHandler
,ConverterTagHandlerDelegateImpl
,ConvertNumberHandler
,FaceletsAttachedObjectHandler
,ResetValuesHandler
,SetPropertyActionListenerHandler
,ValidateDelegateHandler
,ValidatorHandler
,ValidatorTagHandlerDelegateImpl
,ValueChangeListenerHandler
public interface AttachedObjectHandler
The abstract base interface for a handler representing an attached object in a VDL page. Subinterfaces are
provided for the common attached objects that expose Behavior
,
Converter
s, Validator
s,
ValueChangeListener
s, and ActionListener
s for use by page
authors.
- Since:
- 2.0
-
Method Summary
Modifier and Type Method Description void
applyAttachedObject(FacesContext context, UIComponent parent)
Take the argumentparent
and apply this attached object to it.String
getFor()
Return the value of the "for" attribute specified by the page author on the tag for thisAttachedObjectHandler
.
-
Method Details
-
applyAttachedObject
Take the argument
parent
and apply this attached object to it. The action taken varies with class that implements one of the subinterfaces of this interface.- Parameters:
context
- TheFacesContext
for this requestparent
- TheUIComponent
to which this particular attached object must be applied.
-
getFor
String getFor()Return the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler
.- Returns:
- the value of the "for" attribute for this attached object
-