クラス SchemaValidatingMatcher
java.lang.ObjectSE
org.springframework.ws.test.support.matcher.SchemaValidatingMatcher
- 実装済みのインターフェース一覧:
WebServiceMessageMatcher
XmlValidator を使用してリクエストペイロードを検証します。- 導入:
- 2.0
- 作成者:
- Lukas Krecan, Arjen Poutsma
コンストラクター概要
コンストラクターコンストラクター説明SchemaValidatingMatcher(org.springframework.core.io.Resource schema, org.springframework.core.io.Resource... furtherSchemas) 指定されたスキーマリソースに基づいてSchemaValidatingMatcherを作成します。方法の概要
クラス java.lang.ObjectSE から継承されたメソッド
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
コンストラクターの詳細
SchemaValidatingMatcher
public SchemaValidatingMatcher(org.springframework.core.io.Resource schema, org.springframework.core.io.Resource... furtherSchemas) throws IOExceptionSE 指定されたスキーマリソースに基づいてSchemaValidatingMatcherを作成します。- パラメーター:
schema- スキーマfurtherSchemas- 必要に応じて、追加のスキーマ- 例外:
IOExceptionSE- I/O エラーの場合
方法の詳細
match
インターフェースからコピーされた説明:WebServiceMessageMatcher与えられたメッセージを期待と一致させます。実装は通常、JUnit ベースのアサーションを利用します。- 次で指定:
- インターフェース
WebServiceMessageMatcher内のmatch - パラメーター:
message- メッセージ- 例外:
IOExceptionSE- I/O エラーの場合AssertionErrorSE- 期待に応えられない場合