org.apache.myfaces.test.mock
Class MockPartialViewContext
java.lang.Object
javax.faces.context.PartialViewContext
org.apache.myfaces.test.mock.MockPartialViewContext
public class MockPartialViewContext
- extends javax.faces.context.PartialViewContext
Mock implementation of PartialViewContext
.
$Id: MockPartialViewContext.java 990408 2010-08-28 18:59:21Z lu4242 $
- Since:
- 1.0.0
Fields inherited from class javax.faces.context.PartialViewContext |
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MockPartialViewContext
public MockPartialViewContext(javax.faces.context.FacesContext context)
isAjaxRequest
public boolean isAjaxRequest()
- Specified by:
isAjaxRequest
in class javax.faces.context.PartialViewContext
isExecuteAll
public boolean isExecuteAll()
- Specified by:
isExecuteAll
in class javax.faces.context.PartialViewContext
isPartialRequest
public boolean isPartialRequest()
- Specified by:
isPartialRequest
in class javax.faces.context.PartialViewContext
isRenderAll
public boolean isRenderAll()
- Specified by:
isRenderAll
in class javax.faces.context.PartialViewContext
setPartialRequest
public void setPartialRequest(boolean isPartialRequest)
- Specified by:
setPartialRequest
in class javax.faces.context.PartialViewContext
setRenderAll
public void setRenderAll(boolean renderAll)
- Specified by:
setRenderAll
in class javax.faces.context.PartialViewContext
getExecuteIds
public Collection<String> getExecuteIds()
- Specified by:
getExecuteIds
in class javax.faces.context.PartialViewContext
getRenderIds
public Collection<String> getRenderIds()
- Specified by:
getRenderIds
in class javax.faces.context.PartialViewContext
getPartialResponseWriter
public javax.faces.context.PartialResponseWriter getPartialResponseWriter()
- Specified by:
getPartialResponseWriter
in class javax.faces.context.PartialViewContext
processPartial
public void processPartial(javax.faces.event.PhaseId phaseId)
- Specified by:
processPartial
in class javax.faces.context.PartialViewContext
release
public void release()
- Specified by:
release
in class javax.faces.context.PartialViewContext
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.