|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.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 | |
---|---|
java.util.Collection<java.lang.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. |
java.util.Collection<java.lang.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()
FacesWrapper
A 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 java.util.Collection<java.lang.String> getExecuteIds()
The default behavior of this method is to
call PartialViewContext#getExecuteIds()
on the wrapped PartialViewContext
object.
getExecuteIds
in class PartialViewContext
PartialViewContext#getExecuteIds()
public java.util.Collection<java.lang.String> getRenderIds()
The default behavior of this method is to
call PartialViewContext#getRenderIds()
on the wrapped PartialViewContext
object.
getRenderIds
in class PartialViewContext
PartialViewContext#getRenderIds()
public PartialResponseWriter getPartialResponseWriter()
The default behavior of this method is to
call PartialViewContext#getPartialResponseWriter()
on the wrapped PartialViewContext
object.
getPartialResponseWriter
in class PartialViewContext
PartialViewContext#getPartialResponseWriter()
public boolean isAjaxRequest()
The default behavior of this method is to
call PartialViewContext#isAjaxRequest()
on the wrapped PartialViewContext
object.
isAjaxRequest
in class PartialViewContext
PartialViewContext.isAjaxRequest()
public boolean isPartialRequest()
The default behavior of this method is to
call PartialViewContext#isPartialRequest()
on the wrapped PartialViewContext
object.
isPartialRequest
in class PartialViewContext
PartialViewContext#isPartialRequest()
public boolean isExecuteAll()
The default behavior of this method is to
call PartialViewContext#isExecuteAll()
on the wrapped PartialViewContext
object.
isExecuteAll
in class PartialViewContext
PartialViewContext#isExecuteAll()
public boolean isRenderAll()
The default behavior of this method is to
call PartialViewContext#isRenderAll()
on the wrapped PartialViewContext
object.
isRenderAll
in class PartialViewContext
PartialViewContext#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 PartialViewContext
renderAll
- 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 PartialViewContext
PartialViewContext#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 PartialViewContext
phaseId
- 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 |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34