org.apache.myfaces.test.mock
Class MockRenderKitFactory

java.lang.Object
  extended by javax.faces.render.RenderKitFactory
      extended by org.apache.myfaces.test.mock.MockRenderKitFactory
All Implemented Interfaces:
javax.faces.FacesWrapper<javax.faces.render.RenderKitFactory>

public class MockRenderKitFactory
extends javax.faces.render.RenderKitFactory

Mock implementation of RenderKitFactory.

$Id$

Since:
1.0.0

Field Summary
 
Fields inherited from class javax.faces.render.RenderKitFactory
HTML_BASIC_RENDER_KIT
 
Constructor Summary
MockRenderKitFactory()
          Return a default instance.
 
Method Summary
 void addRenderKit(String renderKitId, javax.faces.render.RenderKit renderKit)
          
 javax.faces.render.RenderKit getRenderKit(javax.faces.context.FacesContext context, String renderKitId)
          
 Iterator getRenderKitIds()
          
 
Methods inherited from class javax.faces.render.RenderKitFactory
getWrapped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockRenderKitFactory

public MockRenderKitFactory()

Return a default instance.

Method Detail

addRenderKit

public void addRenderKit(String renderKitId,
                         javax.faces.render.RenderKit renderKit)

Specified by:
addRenderKit in class javax.faces.render.RenderKitFactory

getRenderKit

public javax.faces.render.RenderKit getRenderKit(javax.faces.context.FacesContext context,
                                                 String renderKitId)

Specified by:
getRenderKit in class javax.faces.render.RenderKitFactory

getRenderKitIds

public Iterator getRenderKitIds()

Specified by:
getRenderKitIds in class javax.faces.render.RenderKitFactory


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