public class PartialViewContextImpl
extends javax.faces.context.PartialViewContext
Modifier and Type | Class and Description |
---|---|
private static class |
PartialViewContextImpl.DelayedInitPartialResponseWriter
Delays the actual construction of the PartialResponseWriter until
content is going to actually be written.
|
private static class |
PartialViewContextImpl.PhaseAwareVisitCallback |
Modifier and Type | Field and Description |
---|---|
private java.lang.Boolean |
ajaxRequest |
private javax.faces.context.FacesContext |
ctx |
private java.util.List<java.lang.String> |
executeIds |
private static java.util.logging.Logger |
LOGGER |
private static java.lang.String |
ORIGINAL_WRITER |
private java.lang.Boolean |
partialRequest |
private javax.faces.context.PartialResponseWriter |
partialResponseWriter |
private boolean |
processingPhases |
private boolean |
released |
private java.lang.Boolean |
renderAll |
private java.util.Collection<java.lang.String> |
renderIds |
Constructor and Description |
---|
PartialViewContextImpl(javax.faces.context.FacesContext ctx) |
Modifier and Type | Method and Description |
---|---|
private void |
assertNotReleased() |
private void |
cleanupAfterView() |
private javax.faces.context.PartialResponseWriter |
createPartialResponseWriter() |
java.util.Collection<java.lang.String> |
getExecuteIds() |
javax.faces.context.PartialResponseWriter |
getPartialResponseWriter() |
java.util.Collection<java.lang.String> |
getRenderIds() |
boolean |
isAjaxRequest() |
boolean |
isExecuteAll() |
boolean |
isPartialRequest() |
boolean |
isRenderAll() |
boolean |
isResetValues() |
private java.util.List<java.lang.String> |
populatePhaseClientIds(java.lang.String parameterName) |
private void |
processComponents(javax.faces.component.UIComponent component,
javax.faces.event.PhaseId phaseId,
java.util.Collection<java.lang.String> phaseClientIds,
javax.faces.context.FacesContext context) |
void |
processPartial(javax.faces.event.PhaseId phaseId) |
void |
release() |
private void |
renderAll(javax.faces.context.FacesContext context,
javax.faces.component.UIViewRoot viewRoot) |
private void |
renderState(javax.faces.context.FacesContext context) |
void |
setPartialRequest(boolean isPartialRequest) |
void |
setRenderAll(boolean renderAll) |
private static PartialVisitContext |
unwrapPartialVisitContext(javax.faces.component.visit.VisitContext visitContext)
Unwraps
PartialVisitContext from a chain of VisitContextWrapper s. |
private static java.util.logging.Logger LOGGER
private boolean released
private javax.faces.context.PartialResponseWriter partialResponseWriter
private java.util.List<java.lang.String> executeIds
private java.util.Collection<java.lang.String> renderIds
private java.lang.Boolean ajaxRequest
private java.lang.Boolean partialRequest
private java.lang.Boolean renderAll
private javax.faces.context.FacesContext ctx
private boolean processingPhases
private static final java.lang.String ORIGINAL_WRITER
public PartialViewContextImpl(javax.faces.context.FacesContext ctx)
public boolean isAjaxRequest()
isAjaxRequest
in class javax.faces.context.PartialViewContext
PartialViewContext.isAjaxRequest()
public boolean isPartialRequest()
isPartialRequest
in class javax.faces.context.PartialViewContext
PartialViewContext.isPartialRequest()
public boolean isExecuteAll()
isExecuteAll
in class javax.faces.context.PartialViewContext
PartialViewContext.isExecuteAll()
public boolean isRenderAll()
isRenderAll
in class javax.faces.context.PartialViewContext
PartialViewContext.isRenderAll()
public void setRenderAll(boolean renderAll)
setRenderAll
in class javax.faces.context.PartialViewContext
PartialViewContext.setRenderAll(boolean)
public boolean isResetValues()
isResetValues
in class javax.faces.context.PartialViewContext
public void setPartialRequest(boolean isPartialRequest)
setPartialRequest
in class javax.faces.context.PartialViewContext
public java.util.Collection<java.lang.String> getExecuteIds()
getExecuteIds
in class javax.faces.context.PartialViewContext
PartialViewContext.getExecuteIds()
public java.util.Collection<java.lang.String> getRenderIds()
getRenderIds
in class javax.faces.context.PartialViewContext
PartialViewContext.getRenderIds()
public void processPartial(javax.faces.event.PhaseId phaseId)
processPartial
in class javax.faces.context.PartialViewContext
PartialViewContext.processPartial(javax.faces.event.PhaseId)
public javax.faces.context.PartialResponseWriter getPartialResponseWriter()
getPartialResponseWriter
in class javax.faces.context.PartialViewContext
PartialViewContext.getPartialResponseWriter()
public void release()
release
in class javax.faces.context.PartialViewContext
PartialViewContext.release()
private java.util.List<java.lang.String> populatePhaseClientIds(java.lang.String parameterName)
private void processComponents(javax.faces.component.UIComponent component, javax.faces.event.PhaseId phaseId, java.util.Collection<java.lang.String> phaseClientIds, javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
private static PartialVisitContext unwrapPartialVisitContext(javax.faces.component.visit.VisitContext visitContext)
PartialVisitContext
from a chain of VisitContextWrapper
s.
If no PartialVisitContext
is found in the chain, null is returned instead.visitContext
- the visit context.private void renderAll(javax.faces.context.FacesContext context, javax.faces.component.UIViewRoot viewRoot) throws java.io.IOException
java.io.IOException
private void renderState(javax.faces.context.FacesContext context) throws java.io.IOException
java.io.IOException
private javax.faces.context.PartialResponseWriter createPartialResponseWriter()
private void cleanupAfterView()
private final void assertNotReleased()
Copyright © 2002-2013 Oracle America, Inc. All Rights Reserved.