org.apache.myfaces.test.mock
Class MockRenderKit

java.lang.Object
  extended by javax.faces.render.RenderKit
      extended by org.apache.myfaces.test.mock.MockRenderKit

public class MockRenderKit
extends javax.faces.render.RenderKit

Mock implementation of RenderKit.

$Id$

Since:
1.0.0

Constructor Summary
MockRenderKit()
          Return a default instance.
 
Method Summary
 void addRenderer(String family, String rendererType, javax.faces.render.Renderer renderer)
          
 javax.faces.context.ResponseStream createResponseStream(OutputStream out)
          
 javax.faces.context.ResponseWriter createResponseWriter(Writer writer, String contentTypeList, String characterEncoding)
          
 javax.faces.render.Renderer getRenderer(String family, String rendererType)
          
 javax.faces.render.ResponseStateManager getResponseStateManager()
          
 void setResponseStateManager(javax.faces.render.ResponseStateManager rsm)
           
 
Methods inherited from class javax.faces.render.RenderKit
addClientBehaviorRenderer, getClientBehaviorRenderer, getClientBehaviorRendererTypes, getComponentFamilies, getRendererTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockRenderKit

public MockRenderKit()

Return a default instance.

Method Detail

setResponseStateManager

public void setResponseStateManager(javax.faces.render.ResponseStateManager rsm)

addRenderer

public void addRenderer(String family,
                        String rendererType,
                        javax.faces.render.Renderer renderer)

Specified by:
addRenderer in class javax.faces.render.RenderKit

getRenderer

public javax.faces.render.Renderer getRenderer(String family,
                                               String rendererType)

Specified by:
getRenderer in class javax.faces.render.RenderKit

createResponseWriter

public javax.faces.context.ResponseWriter createResponseWriter(Writer writer,
                                                               String contentTypeList,
                                                               String characterEncoding)

Specified by:
createResponseWriter in class javax.faces.render.RenderKit

createResponseStream

public javax.faces.context.ResponseStream createResponseStream(OutputStream out)

Specified by:
createResponseStream in class javax.faces.render.RenderKit

getResponseStateManager

public javax.faces.render.ResponseStateManager getResponseStateManager()

Specified by:
getResponseStateManager in class javax.faces.render.RenderKit


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