org.apache.myfaces.test.mock
Class MockPartialViewContext

java.lang.Object
  extended by javax.faces.context.PartialViewContext
      extended by org.apache.myfaces.test.mock.MockPartialViewContext

public class MockPartialViewContext
extends javax.faces.context.PartialViewContext

Mock implementation of PartialViewContext.

$Id: MockPartialViewContext.java 1604204 2014-06-20 16:20:34Z lu4242 $

Since:
1.0.0

Field Summary
 
Fields inherited from class javax.faces.context.PartialViewContext
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME
 
Constructor Summary
MockPartialViewContext(javax.faces.context.FacesContext context)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockPartialViewContext

public MockPartialViewContext(javax.faces.context.FacesContext context)
Method Detail

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 © 2014 The Apache Software Foundation. All Rights Reserved.