クラス AttributeCheckContextMapper

java.lang.ObjectSE
org.springframework.ldap.test.AttributeCheckContextMapper
実装済みのインターフェース一覧:
ContextMapper<DirContextAdapter>

public class AttributeCheckContextMapper extends ObjectSE implements ContextMapper<DirContextAdapter>
受信した属性が期待どおりであることを確認するためのテスト目的のダミー ContextMapper。
  • コンストラクターの詳細

    • AttributeCheckContextMapper

      public AttributeCheckContextMapper()
  • 方法の詳細

    • mapFromContext

      public DirContextAdapter mapFromContext(ObjectSE ctx)
      インターフェースからコピーされた説明: ContextMapper
      単一の LDAP コンテキストをオブジェクトにマップします。指定されたオブジェクト ctx は、単一の SearchResultSE、BindingSE、またはルックアップ操作からのオブジェクトです。
      次で指定:
      インターフェース ContextMapper<DirContextAdapter> 内の mapFromContext 
      パラメーター:
      ctx - オブジェクトにマップするコンテキスト。プロジェクト固有の DirObjectFactory が ContextSource で指定されていない限り、通常、これは DirContextAdapter インスタンスになります。
      戻り値:
      コンテキスト内のデータから構築されたオブジェクト。
    • setAbsentAttributes

      public void setAbsentAttributes(StringSE[] absentAttributes)
    • setExpectedAttributes

      public void setExpectedAttributes(StringSE[] expectedAttributes)
    • setExpectedValues

      public void setExpectedValues(StringSE[] expectedValues)