jakarta.xml.soap.SOAPFactory を使用します。public class SOAPElementFactory extends ObjectSE
SOAPElementFactory は、最終的に SOAP 部分になる XML フラグメントのファクトリです。これらのフラグメントは、SOAPHeader または SOAPBody または SOAPEnvelope の子として挿入できます。このファクトリを使用して作成された要素には、SOAP ヘッダードキュメント内に存在する要素のプロパティはありません。これらの要素は、挿入時に XML ドキュメントツリーにコピーされます。
SOAPFactory| 修飾子と型 | メソッドと説明 |
|---|---|
SOAPElement | create(Name name) 使用すべきではありません。 代わりに jakarta.xml.soap.SOAPFactory.createElement(jakarta.xml.soap.Name) を使用してください |
SOAPElement | create(StringSE localName) 使用すべきではありません。 代わりに jakarta.xml.soap.SOAPFactory.createElement(String localName) を使用してください |
SOAPElement | create(StringSE localName, StringSE prefix, StringSE uri) 使用すべきではありません。 代わりに jakarta.xml.soap.SOAPFactory.createElement(String localName, String prefix, String uri) を使用してください |
static SOAPElementFactory | newInstance() 使用すべきではありません。 SOAPElementFactory の新しいインスタンスを作成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic SOAPElement create(Name name) throws SOAPException
Name オブジェクトで初期化された SOAPElement オブジェクトを作成します。name - 新しい要素の XML 名を持つ Name オブジェクト SOAPElement オブジェクト SOAPException - SOAPElement オブジェクトの作成中にエラーが発生した場合 SOAPFactory.createElement(jakarta.xml.soap.Name), SOAPFactory.createElement(javax.xml.namespace.QName)public SOAPElement create(StringSE localName) throws SOAPException
SOAPElement オブジェクトを作成します。localName - 新しい要素のローカル名を与える String SOAPElement オブジェクト SOAPException - SOAPElement オブジェクトの作成中にエラーが発生した場合 SOAPFactory.createElement(java.lang.String)public SOAPElement create(StringSE localName, StringSE prefix, StringSE uri) throws SOAPException
SOAPElement オブジェクトを作成します。localName - 新しい要素のローカル名を与える String prefix - この SOAPElement のプレフィックス uri - 新しい要素が属する名前空間の URI を提供する String SOAPElement オブジェクト SOAPException - SOAPElement オブジェクトの作成中にエラーが発生した場合 SOAPFactory.createElement(java.lang.String, java.lang.String, java.lang.String)public static SOAPElementFactory newInstance() throws SOAPException
SOAPElementFactory の新しいインスタンスを作成します。SOAPElementFactory の新しいインスタンス SOAPException - デフォルトの SOAPElementFactory の作成中にエラーが発生した場合 Copyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.