org.apache.myfaces.buildtools.maven2.plugin.builder.model
Class RenderKitMeta

java.lang.Object
  extended by org.apache.myfaces.buildtools.maven2.plugin.builder.model.RenderKitMeta

public class RenderKitMeta
extends Object

Store metadata about a JSF RenderKit.


Constructor Summary
RenderKitMeta()
          Creates a new RenderKitBean.
 
Method Summary
 void addClientBehaviorRenderer(ClientBehaviorRendererMeta renderer)
          Adds a renderer to this render kit.
 void addRenderer(RendererMeta renderer)
          Adds a renderer to this render kit.
static void addXmlRules(org.apache.commons.digester.Digester digester, String prefix)
          Add digester rules to repopulate an instance of this type from an xml file.
 Iterator clientBehaviorRenderers()
          Returns an iterator for all renderers in this render kit.
 RendererMeta findClientBehaviorRenderer(String rendererType)
          Returns the renderer for this component family and renderer type.
 RendererMeta findRenderer(String componentFamily, String rendererType)
          Returns the renderer for this component family and renderer type.
 String getClassName()
          The name of the class that this metadata applies to.
 Collection getClientBehaviorRenderers()
           
 Collection getRenderers()
           
 String getRenderKitId()
          Returns the render kit id type for this component.
 boolean hasClientBehaviorRenderers()
          Returns true if this render kit has any renderers.
 boolean hasRenderers()
          Returns true if this render kit has any renderers.
 Iterator renderers()
          Returns an iterator for all renderers in this render kit.
 void setClassName(String className)
           
 void setRenderKitId(String renderKitId)
          Sets the render kit id for this component.
static void writeXml(XmlWriter out, RenderKitMeta rkm)
          Write an instance of this class out as xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenderKitMeta

public RenderKitMeta()
Creates a new RenderKitBean.

Method Detail

writeXml

public static void writeXml(XmlWriter out,
                            RenderKitMeta rkm)
Write an instance of this class out as xml.


addXmlRules

public static void addXmlRules(org.apache.commons.digester.Digester digester,
                               String prefix)
Add digester rules to repopulate an instance of this type from an xml file.


getClassName

public String getClassName()
The name of the class that this metadata applies to.


setClassName

public void setClassName(String className)

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(RendererMeta renderer)
Adds a renderer to this render kit.

Parameters:
renderer - the renderer to add

findRenderer

public RendererMeta 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 renderers()
Returns an iterator for all renderers in this render kit.

Returns:
the renderer iterator

getRenderers

public Collection getRenderers()

addClientBehaviorRenderer

public void addClientBehaviorRenderer(ClientBehaviorRendererMeta renderer)
Adds a renderer to this render kit.

Parameters:
renderer - the renderer to add

findClientBehaviorRenderer

public RendererMeta findClientBehaviorRenderer(String rendererType)
Returns the renderer for this component family and renderer type.

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

hasClientBehaviorRenderers

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

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

clientBehaviorRenderers

public Iterator clientBehaviorRenderers()
Returns an iterator for all renderers in this render kit.

Returns:
the renderer iterator

getClientBehaviorRenderers

public Collection getClientBehaviorRenderers()


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