org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse
Class RenderKitBean

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean
      extended by org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.RenderKitBean

public class RenderKitBean
extends ObjectBean

RenderKitBean is a Java representation of the faces-config render-kit XML element.


Constructor Summary
RenderKitBean()
          Creates a new RenderKitBean.
 
Method Summary
 void addRenderer(RendererBean renderer)
          Adds a renderer to this render kit.
protected  void attach(FacesConfigBean owner)
          Attaches the component and all event references.
 RendererBean findRenderer(String componentFamily, String rendererType)
          Returns the renderer for this component family and renderer type.
 String getRenderKitId()
          Returns the render kit id type for this component.
 boolean hasRenderers()
          Returns true if this render kit has any renderers.
 Iterator<RendererBean> renderers()
          Returns an iterator for all renderers in this render kit.
 void setRenderKitId(String renderKitId)
          Sets the render kit id for this component.
 
Methods inherited from class org.apache.myfaces.buildtools.maven2.plugin.builder.trinidad.parse.ObjectBean
getOwner, isModifiedSince
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderKitBean

public RenderKitBean()
Creates a new RenderKitBean.

Method Detail

setRenderKitId

public void setRenderKitId(String renderKitId)
Sets the render kit id for this component.

Parameters:
renderKitId - the render kit id

getRenderKitId

public String getRenderKitId()
Returns the render kit id type for this component.

Returns:
the render kit id

addRenderer

public void addRenderer(RendererBean renderer)
Adds a renderer to this render kit.

Parameters:
renderer - the renderer to add

findRenderer

public RendererBean findRenderer(String componentFamily,
                                 String rendererType)
Returns the renderer for this component family and renderer type.

Parameters:
componentFamily - the component family
rendererType - the renderer type

hasRenderers

public boolean hasRenderers()
Returns true if this render kit has any renderers.

Returns:
true if this render kit has any renderers, false otherwise

renderers

public Iterator<RendererBean> renderers()
Returns an iterator for all renderers in this render kit.

Returns:
the renderer iterator

attach

protected void attach(FacesConfigBean owner)
Attaches the component and all event references.

Overrides:
attach in class ObjectBean
Parameters:
owner - the faces config owner


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.