org.apache.cocoon.processing.impl
Class MockProcessInfoProvider

java.lang.Object
  extended byorg.apache.cocoon.processing.impl.MockProcessInfoProvider
All Implemented Interfaces:
org.apache.cocoon.processing.ProcessInfoProvider

public class MockProcessInfoProvider
extends Object
implements org.apache.cocoon.processing.ProcessInfoProvider

Mock implementation of ProcessInfoProvider interface.

Since:
2.2
Version:
$Id: MockProcessInfoProvider.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Nested Class Summary
static class MockProcessInfoProvider.StubRequest
          This is a stub implementation of HttpServletRequest.
static class MockProcessInfoProvider.StubResponse
          This is a stub implementation of HttpServletResponse.
static class MockProcessInfoProvider.StubSession
           
 
Field Summary
 
Fields inherited from interface org.apache.cocoon.processing.ProcessInfoProvider
ROLE
 
Constructor Summary
MockProcessInfoProvider()
           
 
Method Summary
 Map getObjectModel()
           
 HttpServletRequest getRequest()
           
 HttpServletResponse getResponse()
           
 ServletContext getServletContext()
           
 void setObjectModel(Map objectModel)
           
 void setRequest(HttpServletRequest request)
           
 void setResponse(HttpServletResponse response)
           
 void setServletContext(ServletContext servletContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockProcessInfoProvider

public MockProcessInfoProvider()
Method Detail

getObjectModel

public Map getObjectModel()
Specified by:
getObjectModel in interface org.apache.cocoon.processing.ProcessInfoProvider

setObjectModel

public void setObjectModel(Map objectModel)

getRequest

public HttpServletRequest getRequest()
Specified by:
getRequest in interface org.apache.cocoon.processing.ProcessInfoProvider

setRequest

public void setRequest(HttpServletRequest request)

getResponse

public HttpServletResponse getResponse()
Specified by:
getResponse in interface org.apache.cocoon.processing.ProcessInfoProvider

setResponse

public void setResponse(HttpServletResponse response)

getServletContext

public ServletContext getServletContext()
Specified by:
getServletContext in interface org.apache.cocoon.processing.ProcessInfoProvider

setServletContext

public void setServletContext(ServletContext servletContext)


Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.