info.magnolia.cms.gui.controlx.impl
Class RenderKitImpl

java.lang.Object
  extended by info.magnolia.cms.gui.controlx.impl.RenderKitImpl
All Implemented Interfaces:
RenderKit
Direct Known Subclasses:
TestRenderKit

public class RenderKitImpl
extends java.lang.Object
implements RenderKit

If a not registered render type is passed a TemplatedRenderer instance is returned.

Version:
$Revision: 32667 $ ($Author: gjoseph $)
Author:
Philipp Bracher

Field Summary
protected  java.util.Map renderers
          The renderers registered.
 
Constructor Summary
RenderKitImpl()
          Init the layzy map.
 
Method Summary
 Renderer getRenderer(java.lang.String type)
          Get a renderer
 void register(java.lang.String type, Renderer renderer)
          Register a renderer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

renderers

protected java.util.Map renderers
The renderers registered.

Constructor Detail

RenderKitImpl

public RenderKitImpl()
Init the layzy map.

Method Detail

register

public void register(java.lang.String type,
                     Renderer renderer)
Description copied from interface: RenderKit
Register a renderer

Specified by:
register in interface RenderKit
See Also:
RenderKit.register(java.lang.String, info.magnolia.cms.gui.controlx.Renderer)

getRenderer

public Renderer getRenderer(java.lang.String type)
Description copied from interface: RenderKit
Get a renderer

Specified by:
getRenderer in interface RenderKit
Returns:
See Also:
RenderKit.getRenderer(java.lang.String)


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.