|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.JspFactory com.mockrunner.mock.web.MockJspFactory
public class MockJspFactory
Mock implementation of JspFactory
.
This implementation returns null
for getJspApplicationContext(javax.servlet.ServletContext)
. For full
support of JspApplicationContext
use
JasperJspFactory
.
Constructor Summary | |
---|---|
MockJspFactory()
|
Method Summary | |
---|---|
javax.servlet.jsp.JspEngineInfo |
getEngineInfo()
|
javax.servlet.jsp.JspApplicationContext |
getJspApplicationContext(javax.servlet.ServletContext context)
|
javax.servlet.jsp.PageContext |
getPageContext()
Returns the PageContext . |
javax.servlet.jsp.PageContext |
getPageContext(javax.servlet.Servlet servlet,
javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
java.lang.String errorPageURL,
boolean needsSession,
int buffer,
boolean autoflush)
|
void |
releasePageContext(javax.servlet.jsp.PageContext pageContext)
|
void |
setEngineInfo(javax.servlet.jsp.JspEngineInfo engineInfo)
Set the JspEngineInfo . |
void |
setJspApplicationContext(javax.servlet.jsp.JspApplicationContext applicationContext)
Set the JspApplicationContext . |
void |
setPageContext(javax.servlet.jsp.PageContext pageContext)
Set the PageContext . |
Methods inherited from class javax.servlet.jsp.JspFactory |
---|
getDefaultFactory, setDefaultFactory |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockJspFactory()
Method Detail |
---|
public void setEngineInfo(javax.servlet.jsp.JspEngineInfo engineInfo)
JspEngineInfo
. Per default,
MockJspEngineInfo
is used.
engineInfo
- the JspEngineInfo
public void setJspApplicationContext(javax.servlet.jsp.JspApplicationContext applicationContext)
JspApplicationContext
.
applicationContext
- the JspApplicationContext
public void setPageContext(javax.servlet.jsp.PageContext pageContext)
PageContext
.
pageContext
- the PageContext
public javax.servlet.jsp.PageContext getPageContext()
PageContext
.
PageContext
public javax.servlet.jsp.JspEngineInfo getEngineInfo()
getEngineInfo
in class javax.servlet.jsp.JspFactory
public javax.servlet.jsp.JspApplicationContext getJspApplicationContext(javax.servlet.ServletContext context)
getJspApplicationContext
in class javax.servlet.jsp.JspFactory
public javax.servlet.jsp.PageContext getPageContext(javax.servlet.Servlet servlet, javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, java.lang.String errorPageURL, boolean needsSession, int buffer, boolean autoflush)
getPageContext
in class javax.servlet.jsp.JspFactory
public void releasePageContext(javax.servlet.jsp.PageContext pageContext)
releasePageContext
in class javax.servlet.jsp.JspFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |