com.sun.rave.web.ui.component.util.factories
Interface ComponentFactory

All Known Implementing Classes:
AnchorFactory, ButtonFactory, ComponentFactoryBase, FieldFactory, HelpInlineFactory, HyperlinkFactory, IconFactory, IconHyperlinkFactory, ImageComponentFactory, ImageHyperlinkFactory, LabelFactory, LegendFactory, LocalizedStringFactory, StaticTextFactory

public interface ComponentFactory

This interface must be implemented by all UIComponent factories. This enabled UIComponents to be created via a consistent interface. This is critical to classes such as TemplateComponentBase and LayoutComponent.


Method Summary
 javax.faces.component.UIComponent create(javax.faces.context.FacesContext context, LayoutComponent descriptor, javax.faces.component.UIComponent parent)
          This is the factory method responsible for creating the UIComponent.
 

Method Detail

create

javax.faces.component.UIComponent create(javax.faces.context.FacesContext context,
                                         LayoutComponent descriptor,
                                         javax.faces.component.UIComponent parent)
This is the factory method responsible for creating the UIComponent.

Parameters:
context - The FacesContext
descriptor - The LayoutComponent descriptor that is associated with the requested UIComponent.
parent - The parent UIComponent
Returns:
The newly created UIComponent