モジュール java.xml.ws
パッケージ javax.xml.ws.wsaddressing

クラスW3CEndpointReference



  • public final class W3CEndpointReference
    extends EndpointReference
    このクラスは、「W3C WS-Addressing 1.0 - Core Recommendation」をサポートするWebサービス端点へのリモート参照であるW3C Addressing EndpointRefereceを表します。

    開発者は、W3C WS-Addressing勧告を表す端点の参照をSEIで引数や戻り値として使用する場合、このクラスを使用するようにしてください。

    JAXBはJAXB注釈を使用し、WS-Addressingで定義されたものと一致するXML情報セットにこのクラスをバインドします。 WS-Addressing EndpointReferenceの詳細については、WS-Addressingを参照してください。

    導入されたバージョン:
    1.6, JAX-WS 2.1
    • コンストラクタの詳細

      • W3CEndpointReference

        protected W3CEndpointReference​()
        デフォルトのコンストラクタです。
      • W3CEndpointReference

        public W3CEndpointReference​(Source source)
        情報セット表現からEPRを作成します。
        パラメータ:
        source - W3C WS-Addressing Core勧告に一致する有効なXmlInfosetインスタンスを含んでいるソース・オブジェクト。
        例外:
        WebServiceException - sourceに有効なW3C WS-Addressing EndpointReferenceが含まれていない場合。
        NullPointerException - 指定されたsourceの値がnullの場合
    • メソッドの詳細

      • writeTo

        public void writeTo​(Result result)
        このEndpointReferenceを指定された情報セット形式に書き出します。
        定義:
        writeTo、クラス: EndpointReference
        パラメータ:
        result - 情報セットの書込み用