public abstract class PartialViewContextWrapper extends PartialViewContext implements FacesWrapper<PartialViewContext>
既存の PartialViewContext
インスタンスに特殊な動作を提供したい開発者によってサブクラス化することができる PartialViewContext
の簡単な実装を提供します。すべてのメソッドのデフォルトの実装では、ラップされた ExternalContext
インスタンスを呼び出します。
使用方法: このクラスを継承し、ラップされている実装をコンストラクターにプッシュし、getWrapped()
を使用してラップされているインスタンスにアクセスします。
ALL_PARTIAL_PHASE_CLIENT_IDS, PARTIAL_EVENT_PARAM_NAME, PARTIAL_EXECUTE_PARAM_NAME, PARTIAL_RENDER_PARAM_NAME, RESET_VALUES_PARAM_NAME
コンストラクターと説明 |
---|
PartialViewContextWrapper() 使用すべきではありません。 ラップされている実装を使用する他のコンストラクターを使用します。 |
PartialViewContextWrapper(PartialViewContext wrapped) このパート的なビューコンテキストが装飾されている場合、装飾を行う実装は、ラップされている実装をこのコンストラクターにプッシュする必要があります。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
@DeprecatedSE public PartialViewContextWrapper()
public PartialViewContextWrapper(PartialViewContext wrapped)
このパート的なビューコンテキストが装飾されている場合、装飾を行う実装は、ラップされている実装をこのコンストラクターにプッシュする必要があります。getWrapped()
は、ラップされている実装を返します。
wrapped
- ラップされる実装。public PartialViewContext getWrapped()
FacesWrapper
このインターフェースを実装するクラスは、このメソッドを使用して、ラップされているクラスのインスタンスを返します。
FacesWrapper<PartialViewContext>
の getWrapped
public CollectionSE<StringSE> getExecuteIds()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.getExecuteIds()
を呼び出すことです。
PartialViewContext
の getExecuteIds
PartialViewContext.getExecuteIds()
public CollectionSE<StringSE> getRenderIds()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.getRenderIds()
を呼び出すことです。
PartialViewContext
の getRenderIds
PartialViewContext.getRenderIds()
public ListSE<StringSE> getEvalScripts()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.getRenderIds()
を呼び出すことです。
PartialViewContext
の getEvalScripts
List
。PartialViewContext.getEvalScripts()
public PartialResponseWriter getPartialResponseWriter()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.getPartialResponseWriter()
を呼び出すことです。
PartialViewContext
の getPartialResponseWriter
ResponseWriter
PartialViewContext.getPartialResponseWriter()
public void setPartialRequest(boolean isPartialRequest)
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.setPartialRequest(boolean)
を呼び出すことです。
PartialViewContext
の setPartialRequest
isPartialRequest
- 値 true
は、これが部分的なリクエストであることを示します。PartialViewContext.setPartialRequest(boolean)
public boolean isAjaxRequest()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.isAjaxRequest()
を呼び出すことです。
PartialViewContext
の isAjaxRequest
PartialViewContext.isAjaxRequest()
public boolean isPartialRequest()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.isPartialRequest()
を呼び出すことです。
PartialViewContext
の isPartialRequest
PartialViewContext.isPartialRequest()
public boolean isExecuteAll()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.isExecuteAll()
を呼び出すことです。
PartialViewContext
の isExecuteAll
PartialViewContext.isExecuteAll()
public boolean isRenderAll()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.isRenderAll()
を呼び出すことです。
PartialViewContext
の isRenderAll
PartialViewContext.isRenderAll()
public boolean isResetValues()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.isResetValues()
を呼び出すことです。
PartialViewContext
の isResetValues
PartialViewContext.isResetValues()
public void setRenderAll(boolean renderAll)
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.setRenderAll(boolean)
を呼び出すことです。
PartialViewContext
の setRenderAll
renderAll
- 値 true
は、ビュー全体をレンダリングする必要があることを示します。PartialViewContext.setRenderAll(boolean)
public void release()
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.release()
を呼び出すことです。
PartialViewContext
の release
PartialViewContext.release()
public void processPartial(PhaseId phaseId)
このメソッドのデフォルトの動作は、ラップされた PartialViewContext
オブジェクトで PartialViewContext.processPartial(PhaseId)
を呼び出すことです。
PartialViewContext
の processPartial
phaseId
- コンポーネントが処理されるライフサイクルフェーズを示す PhaseId
PartialViewContext.processPartial(PhaseId)
Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.