public class MockPartialViewContext
extends javax.faces.context.PartialViewContext
Mock implementation of PartialViewContext.
| Constructor and Description |
|---|
MockPartialViewContext(javax.faces.context.FacesContext context) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getEvalScripts() |
Collection<String> |
getExecuteIds() |
javax.faces.context.PartialResponseWriter |
getPartialResponseWriter() |
Collection<String> |
getRenderIds() |
boolean |
isAjaxRequest() |
boolean |
isExecuteAll() |
boolean |
isPartialRequest() |
boolean |
isRenderAll() |
void |
processPartial(javax.faces.event.PhaseId phaseId) |
void |
release() |
void |
setPartialRequest(boolean isPartialRequest) |
void |
setRenderAll(boolean renderAll) |
public MockPartialViewContext(javax.faces.context.FacesContext context)
public boolean isAjaxRequest()
isAjaxRequest in class javax.faces.context.PartialViewContextpublic boolean isExecuteAll()
isExecuteAll in class javax.faces.context.PartialViewContextpublic boolean isPartialRequest()
isPartialRequest in class javax.faces.context.PartialViewContextpublic boolean isRenderAll()
isRenderAll in class javax.faces.context.PartialViewContextpublic void setPartialRequest(boolean isPartialRequest)
setPartialRequest in class javax.faces.context.PartialViewContextpublic void setRenderAll(boolean renderAll)
setRenderAll in class javax.faces.context.PartialViewContextpublic Collection<String> getExecuteIds()
getExecuteIds in class javax.faces.context.PartialViewContextpublic Collection<String> getRenderIds()
getRenderIds in class javax.faces.context.PartialViewContextpublic javax.faces.context.PartialResponseWriter getPartialResponseWriter()
getPartialResponseWriter in class javax.faces.context.PartialViewContextpublic void processPartial(javax.faces.event.PhaseId phaseId)
processPartial in class javax.faces.context.PartialViewContextpublic void release()
release in class javax.faces.context.PartialViewContextCopyright © 2017 The Apache Software Foundation. All rights reserved.