javax.faces.view
Interface AttachedObjectHandler

All Known Subinterfaces:
ActionSource2AttachedObjectHandler, 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
Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Simon Lessard (latest modification by $Author: bommel $)

Method Summary
 void applyAttachedObject(FacesContext context, UIComponent parent)
          Take the argument parent 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 this AttachedObjectHandler.
 

Method Detail

applyAttachedObject

void applyAttachedObject(FacesContext context,
                         UIComponent parent)
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 - The FacesContext for this request
parent - The UIComponent 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 specified by the page author on the tag for this AttachedObjectHandler.


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.