クラス AttributeCheckContextMapper
java.lang.ObjectSE
org.springframework.ldap.test.AttributeCheckContextMapper
- 実装済みのインターフェース一覧:
ContextMapper<DirContextAdapter>
public class AttributeCheckContextMapper
extends ObjectSE
implements ContextMapper<DirContextAdapter>
受信した属性が期待どおりであることを確認するためのテスト目的のダミー ContextMapper。
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明mapFromContext(ObjectSE ctx) 単一の LDAP コンテキストをオブジェクトにマップします。voidsetAbsentAttributes(StringSE[] absentAttributes) voidsetExpectedAttributes(StringSE[] expectedAttributes) voidsetExpectedValues(StringSE[] expectedValues)
コンストラクターの詳細
AttributeCheckContextMapper
public AttributeCheckContextMapper()
方法の詳細
mapFromContext
インターフェースからコピーされた説明:ContextMapper単一の LDAP コンテキストをオブジェクトにマップします。指定されたオブジェクトctxは、単一のSearchResultSE、BindingSE、またはルックアップ操作からのオブジェクトです。- 次で指定:
- インターフェース
ContextMapper<DirContextAdapter>内のmapFromContext - パラメーター:
ctx- オブジェクトにマップするコンテキスト。プロジェクト固有のDirObjectFactoryがContextSourceで指定されていない限り、通常、これはDirContextAdapterインスタンスになります。- 戻り値:
- コンテキスト内のデータから構築されたオブジェクト。
setAbsentAttributes
setExpectedAttributes
setExpectedValues