Package jakarta.faces.view
Interface AttachedObjectHandler
- All Known Subinterfaces:
ActionSource2AttachedObjectHandler,ActionSourceAttachedObjectHandler,BehaviorHolderAttachedObjectHandler,EditableValueHolderAttachedObjectHandler,ValueHolderAttachedObjectHandler
- All Known Implementing Classes:
BehaviorHandler,ConverterHandler,FaceletsAttachedObjectHandler,ValidatorHandler
public interface AttachedObjectHandler
The abstract base interface for a handler representing an attached object in a PDL page. Subinterfaces are
provided for the common attached objects that expose
Converter,
Validator, ValueChangeEvent,
and ActionListener for use by page authors.- Since:
- 2.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyAttachedObject(FacesContext context, UIComponent parent) Take the argumentparentand apply this attachedobjectto it.getFor()Return the value of the "for" attribute specified by the page author on the tag for thisAttachedObjectHandler.
-
Method Details
-
applyAttachedObject
Take the argumentparentand apply this attachedobjectto it. The action taken varies with class that implements one of the subinterfaces of this interface.- Parameters:
context- TheFacesContextfor this requestparent- TheUIComponentto 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 thisAttachedObjectHandler.- Returns:
- the value of the "for" attribute specified by the page author on the tag for this
AttachedObjectHandler.
-