javax.xml.soap.SOAPFactory。
public class SOAPElementFactory extends Object
SOAPElementFactory是一个XML片段,最终将肥皂部分厂。这些片段可以插入的
SOAPHeader或
SOAPBody或
SOAPEnvelope儿童。
使用这个工厂创建的元素没有一个生活在一个肥皂头文件中的元素的属性。当插入这些元素时,这些元素将被复制到XML文档树中。
SOAPFactory
| Modifier and Type | Method and Description |
|---|---|
SOAPElement |
create(Name name)
过时的。
使用javax. XML,SOAP。soapfactory。createElement(javax. XML。肥皂。名字)代替
|
SOAPElement |
create(String localName)
过时的。
使用javax. XML,SOAP。soapfactory createElement(StringlocalName)代替。
|
SOAPElement |
create(String localName, String prefix, String uri)
过时的。
使用javax. XML,SOAP。soapfactory。createElement(StringlocalName字符串,字符串的前缀,URI)代替
|
static SOAPElementFactory |
newInstance()
过时的。
创建一个新的实例
SOAPElementFactory。
|
public SOAPElement create(Name name) throws SOAPException
SOAPElement对象与给定的
Name对象初始化。
name -
Name对象与XML名称为新的元素
SOAPElement创建对象
SOAPException -如果在创建
SOAPElement对象错误
SOAPFactory.createElement(javax.xml.soap.Name),
SOAPFactory.createElement(javax.xml.namespace.QName)
public SOAPElement create(String localName) throws SOAPException
SOAPElement对象与给定的本地名称初始化。
localName -
String给当地的名称为新的元素
SOAPElement创建对象
SOAPException -如果在创建
SOAPElement对象错误
SOAPFactory.createElement(java.lang.String)
public SOAPElement create(String localName, String prefix, String uri) throws SOAPException
SOAPElement对象与给定的本地名称前缀和URI。
localName -
String给当地的名称为新的元素
prefix -这
SOAPElement前缀
uri -
String给URI命名空间的元素属于
SOAPException -如果在创建
SOAPElement对象错误
SOAPFactory.createElement(java.lang.String, java.lang.String, java.lang.String)
public static SOAPElementFactory newInstance() throws SOAPException
SOAPElementFactory。
SOAPElementFactory新实例
SOAPException如果创建默认的
SOAPElementFactory出错
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.