JSF-Spring

de.mindmatters.faces.spring.factory.xml
Class RendererDefinition

java.lang.Object
  extended by de.mindmatters.faces.spring.factory.xml.RendererDefinition

public final class RendererDefinition
extends java.lang.Object

A RendererDefinition encapsulates and describes a Renderer instance. Description (e.g. component-family, renderer-type etc.) is needed for registration purposes.

Author:
Andreas Kuhrwahl

Constructor Summary
RendererDefinition(java.lang.String componentFamily, java.lang.String rendererType, Renderer renderer, java.lang.String renderKitId)
          Creates a definition with the given Renderer renderer and other describing properties.
 
Method Summary
 java.lang.String getComponentFamily()
           
 Renderer getRenderer()
           
 java.lang.String getRendererType()
           
 java.lang.String getRenderKitId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererDefinition

public RendererDefinition(java.lang.String componentFamily,
                          java.lang.String rendererType,
                          Renderer renderer,
                          java.lang.String renderKitId)
Creates a definition with the given Renderer renderer and other describing properties.

Parameters:
componentFamily - the component-family for which the renderer renders
rendererType - the renderer type
renderer - the Renderer
renderKitId - the render-kit-id
Method Detail

getComponentFamily

public java.lang.String getComponentFamily()
Returns:
the component-family for which the renderer renders

getRenderer

public Renderer getRenderer()
Returns:
the encapsulated Renderer

getRendererType

public java.lang.String getRendererType()
Returns:
the type of the encapsulated Renderer

getRenderKitId

public java.lang.String getRenderKitId()
Returns:
the id of the RenderKit the encapsulated Renderer will be registered for

JSF-Spring

Copyright © 2006 mindmatters GmbH & Co. KG