uTools-Manuals/docs/java/javax/xml/soap/SAAJMetaFactory.html

187 lines
8.9 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
javax.xml.soap
</div>
<h2 class="title" title="Class SAAJMetaFactory">Class SAAJMetaFactory</h2>
</div><div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>javax.xml.soap.SAAJMetaFactory</li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre>public abstract class <span class="typeNameLabel">SAAJMetaFactory</span>
extends <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></pre>
<div class="block">
<span>在SAAJ API中定义的工厂的实现类的接入点。</span>
<span>所有在SAAJ 1.3 <code>newInstance</code>定义的<code>newInstance</code>方法都适用于该类的实例,以便实际创建对象。</span>
<span>SAAJ 1.2中存在的<code>newInstance()</code>方法在SOAPFactory和MessageFactory中的实现已经被更新当SAAJ 1.2定义的查找找不到Factory实现类名时它们也被委派给SAAJMetaFactory。</span>
<p> <span>SAAJMetaFactory是一个服务提供者界面。</span> <span>这个班没有公开的方法。</span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
SAAJ 1.3
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- --> </a> <h3>构造方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
<caption>
<span>构造方法</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier</th>
<th class="colLast" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected </code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/soap/SAAJMetaFactory.html#SAAJMetaFactory--">SAAJMetaFactory</a></span>()</code> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>protected abstract <a href="../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">MessageFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/soap/SAAJMetaFactory.html#newMessageFactory-java.lang.String-">newMessageFactory</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> protocol)</code>
<div class="block">
为给定的
<code>String</code>协议创建一个
<code>MessageFactory</code>对象。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>protected abstract <a href="../../../javax/xml/soap/SOAPFactory.html" title="class in javax.xml.soap">SOAPFactory</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/soap/SAAJMetaFactory.html#newSOAPFactory-java.lang.String-">newSOAPFactory</a></span>(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> protocol)</code>
<div class="block">
为给定的
<code>String</code>协议创建一个
<code>SOAPFactory</code>对象。
</div> </td>
</tr>
</tbody>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- --> </a> <h3>Methods inherited from class java.lang.<a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></h3> <code><a href="../../../java/lang/Object.html#clone--">clone</a>, <a href="../../../java/lang/Object.html#equals-java.lang.Object-">equals</a>, <a href="../../../java/lang/Object.html#finalize--">finalize</a>, <a href="../../../java/lang/Object.html#getClass--">getClass</a>, <a href="../../../java/lang/Object.html#hashCode--">hashCode</a>, <a href="../../../java/lang/Object.html#notify--">notify</a>, <a href="../../../java/lang/Object.html#notifyAll--">notifyAll</a>, <a href="../../../java/lang/Object.html#toString--">toString</a>, <a href="../../../java/lang/Object.html#wait--">wait</a>, <a href="../../../java/lang/Object.html#wait-long-">wait</a>, <a href="../../../java/lang/Object.html#wait-long-int-">wait</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="SAAJMetaFactory--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>SAAJMetaFactory</h4> <pre>protected SAAJMetaFactory()</pre> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="newMessageFactory-java.lang.String-">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>newMessageFactory</h4> <pre>protected abstract <a href="../../../javax/xml/soap/MessageFactory.html" title="class in javax.xml.soap">MessageFactory</a> newMessageFactory(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> protocol)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">
为给定的
<code>String</code>协议创建一个
<code>MessageFactory</code>对象。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>protocol</code> - 表示协议的
<code>String</code>
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></code> - 创建MessageFactory是否有错误
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../javax/xml/soap/SOAPConstants.html#SOAP_1_1_PROTOCOL"><code>SOAPConstants.SOAP_1_1_PROTOCOL</code></a>
<a href="../../../javax/xml/soap/SOAPConstants.html#SOAP_1_2_PROTOCOL"><code>SOAPConstants.SOAP_1_2_PROTOCOL</code></a>
<a href="../../../javax/xml/soap/SOAPConstants.html#DYNAMIC_SOAP_PROTOCOL"><code>SOAPConstants.DYNAMIC_SOAP_PROTOCOL</code></a>
</dd>
</dl> </li>
</ul> <a name="newSOAPFactory-java.lang.String-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>newSOAPFactory</h4> <pre>protected abstract <a href="../../../javax/xml/soap/SOAPFactory.html" title="class in javax.xml.soap">SOAPFactory</a> newSOAPFactory(<a href="../../../java/lang/String.html" title="class in java.lang">String</a> protocol)
throws <a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></pre>
<div class="block">
为给定的
<code>String</code>协议创建一个
<code>SOAPFactory</code>对象。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>protocol</code> - 一个
<code>String</code>协议的
<code>String</code>
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../javax/xml/soap/SOAPException.html" title="class in javax.xml.soap">SOAPException</a></code> - 创建SOAPFactory是否有错误
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../javax/xml/soap/SOAPConstants.html#SOAP_1_1_PROTOCOL"><code>SOAPConstants.SOAP_1_1_PROTOCOL</code></a>
<a href="../../../javax/xml/soap/SOAPConstants.html#SOAP_1_2_PROTOCOL"><code>SOAPConstants.SOAP_1_2_PROTOCOL</code></a>
<a href="../../../javax/xml/soap/SOAPConstants.html#DYNAMIC_SOAP_PROTOCOL"><code>SOAPConstants.DYNAMIC_SOAP_PROTOCOL</code></a>
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>