クラス MarshallingUtils

java.lang.ObjectSE
org.springframework.ws.support.MarshallingUtils

public abstract class MarshallingUtils extends ObjectSE
マーシャリングを使用するエンドポイントおよびエンドポイントマッピングのヘルパークラス。
導入:
1.0.0
  • 方法の概要

    修飾子と型
    メソッド
    説明
    static void
    marshal(org.springframework.oxm.Marshaller marshaller, ObjectSE graph, WebServiceMessage message)
    指定された Marshaller を使用して、指定されたオブジェクトを指定されたメッセージのペイロードにマーシャリングします。
    static @Nullable ObjectSE
    unmarshal(org.springframework.oxm.Unmarshaller unmarshaller, WebServiceMessage message)
    提供された Unmarshaller を使用して、指定されたメッセージのペイロードをアンマーシャリングします。

    クラス ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
  • 方法の詳細

    • unmarshal

      public static @Nullable ObjectSE unmarshal(org.springframework.oxm.Unmarshaller unmarshaller, WebServiceMessage message) throws IOExceptionSE
      提供された Unmarshaller を使用して、指定されたメッセージのペイロードをアンマーシャリングします。

      リクエストメッセージにペイロードがない場合(つまり、WebServiceMessage.getPayloadSource() が null を返す場合)、このメソッドは null を返します。

      パラメーター:
      unmarshaller - アンマーシャラー
      message - ペイロードがマーシャリングされないメッセージ
      戻り値:
      非整列化オブジェクト
      例外:
      IOExceptionSE - I/O エラーの場合
    • marshal

      public static void marshal(org.springframework.oxm.Marshaller marshaller, ObjectSE graph, WebServiceMessage message) throws IOExceptionSE
      指定された Marshaller を使用して、指定されたオブジェクトを指定されたメッセージのペイロードにマーシャリングします。
      パラメーター:
      marshaller - マーシャラー
      graph - マーシャリングするオブジェクトグラフのルート
      message - ペイロードがマーシャリングされないメッセージ
      例外:
      IOExceptionSE - I/O エラーの場合