|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.context.PartialViewContext
javax.faces.context.PartialViewContextWrapper
public abstract class PartialViewContextWrapper
Provides a simple implementation of PartialViewContext that can
be subclassed by developers wishing to provide specialized behavior
to an existing PartialViewContext instance. The default
implementation of all methods is to call through to the wrapped
ExternalContext instance.
Usage: extend this class and override getWrapped() to
return the instance being wrapping.
| 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 | |
|---|---|
PartialViewContextWrapper()
|
|
| Method Summary | |
|---|---|
Collection<String> |
getExecuteIds()
The default behavior of this method is to call PartialViewContext.getExecuteIds()
on the wrapped PartialViewContext object. |
PartialResponseWriter |
getPartialResponseWriter()
The default behavior of this method is to call PartialViewContext.getPartialResponseWriter()
on the wrapped PartialViewContext object. |
Collection<String> |
getRenderIds()
The default behavior of this method is to call PartialViewContext.getRenderIds()
on the wrapped PartialViewContext object. |
abstract PartialViewContext |
getWrapped()
A class that implements this interface uses this method to return an instance of the class being wrapped. |
boolean |
isAjaxRequest()
The default behavior of this method is to call PartialViewContext.isAjaxRequest()
on the wrapped PartialViewContext object. |
boolean |
isExecuteAll()
The default behavior of this method is to call PartialViewContext.isExecuteAll()
on the wrapped PartialViewContext object. |
boolean |
isPartialRequest()
The default behavior of this method is to call PartialViewContext.isPartialRequest()
on the wrapped PartialViewContext object. |
boolean |
isRenderAll()
The default behavior of this method is to call PartialViewContext.isRenderAll()
on the wrapped PartialViewContext object. |
void |
processPartial(PhaseId phaseId)
The default behavior of this method is to call PartialViewContext.processPartial(PhaseId)
on the wrapped PartialViewContext object. |
void |
release()
The default behavior of this method is to call PartialViewContext.release()
on the wrapped PartialViewContext object. |
void |
setRenderAll(boolean renderAll)
The default behavior of this method is to call PartialViewContext.setRenderAll(boolean)
on the wrapped PartialViewContext object. |
| Methods inherited from class javax.faces.context.PartialViewContext |
|---|
setPartialRequest |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PartialViewContextWrapper()
| Method Detail |
|---|
public abstract PartialViewContext getWrapped()
FacesWrapperA class that implements this interface uses this method to return an instance of the class being wrapped.
getWrapped in interface FacesWrapper<PartialViewContext>PartialViewContext instanceFacesWrapper.getWrapped()public Collection<String> getExecuteIds()
The default behavior of this method is to
call PartialViewContext.getExecuteIds()
on the wrapped PartialViewContext object.
getExecuteIds in class PartialViewContextPartialViewContext.getExecuteIds()public Collection<String> getRenderIds()
The default behavior of this method is to
call PartialViewContext.getRenderIds()
on the wrapped PartialViewContext object.
getRenderIds in class PartialViewContextPartialViewContext.getRenderIds()public PartialResponseWriter getPartialResponseWriter()
The default behavior of this method is to
call PartialViewContext.getPartialResponseWriter()
on the wrapped PartialViewContext object.
getPartialResponseWriter in class PartialViewContextPartialViewContext.getPartialResponseWriter()public boolean isAjaxRequest()
The default behavior of this method is to
call PartialViewContext.isAjaxRequest()
on the wrapped PartialViewContext object.
isAjaxRequest in class PartialViewContextPartialViewContext.isAjaxRequest()public boolean isPartialRequest()
The default behavior of this method is to
call PartialViewContext.isPartialRequest()
on the wrapped PartialViewContext object.
isPartialRequest in class PartialViewContextPartialViewContext.isPartialRequest()public boolean isExecuteAll()
The default behavior of this method is to
call PartialViewContext.isExecuteAll()
on the wrapped PartialViewContext object.
isExecuteAll in class PartialViewContextPartialViewContext.isExecuteAll()public boolean isRenderAll()
The default behavior of this method is to
call PartialViewContext.isRenderAll()
on the wrapped PartialViewContext object.
isRenderAll in class PartialViewContextPartialViewContext.isRenderAll()public void setRenderAll(boolean renderAll)
The default behavior of this method is to
call PartialViewContext.setRenderAll(boolean)
on the wrapped PartialViewContext object.
setRenderAll in class PartialViewContextrenderAll - the value true indicates
the entire view must be rendered.PartialViewContext.setRenderAll(boolean)public void release()
The default behavior of this method is to
call PartialViewContext.release()
on the wrapped PartialViewContext object.
release in class PartialViewContextPartialViewContext.release()public void processPartial(PhaseId phaseId)
The default behavior of this method is to
call PartialViewContext.processPartial(PhaseId)
on the wrapped PartialViewContext object.
processPartial in class PartialViewContextphaseId - the PhaseId that indicates
the lifecycle phase the components will be processed in.PartialViewContext.processPartial(PhaseId)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||