uTools-Manuals/docs/java/javax/xml/ws/WebServiceFeature.html

197 lines
8.5 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.ws
</div>
<h2 class="title" title="Class WebServiceFeature">Class WebServiceFeature</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.ws.WebServiceFeature</li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
已知直接子类:
</dt>
<dd>
<span><a href="../../../javax/xml/ws/soap/AddressingFeature.html" title="javax.xml.ws.soap中的类">AddressingFeature</a> <a href="../../../javax/xml/ws/soap/MTOMFeature.html" title="javax.xml.ws.soap中的类">MTOMFeature</a> <a href="../../../javax/xml/ws/RespectBindingFeature.html" title="javax.xml.ws中的类">RespectBindingFeature</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public abstract class <span class="typeNameLabel">WebServiceFeature</span>
extends <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></pre>
<div class="block">
<span>WebServiceFeature用于表示可以为Web服务启用或禁用的功能。</span>
<p> <span>JAX-WS规范将定义一些标准功能如果需要JAX-WS实现者可以自由定义其他功能。</span> <span>供应商的具体功能可能不可移植,因此在使用时应谨慎使用。</span> <span>每个功能定义必须定义一个<code>public static final String ID</code>可在功能注释被用于指所述特征。</span> <span>该ID在所有供应商的所有功能上必须是唯一的。</span> <span>在定义供应商特定功能ID时请在ID字符串中使用供应商特定的命名空间。</span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
2.1
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../../javax/xml/ws/RespectBindingFeature.html" title="javax.xml.ws中的类"><code>RespectBindingFeature</code></a> <a href="../../../javax/xml/ws/soap/AddressingFeature.html" title="javax.xml.ws.soap中的类"><code>AddressingFeature</code></a> <a href="../../../javax/xml/ws/soap/MTOMFeature.html" title="javax.xml.ws.soap中的类"><code>MTOMFeature</code></a></span>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- --> </a> <h3>Field Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
<caption>
<span>Fields</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/ws/WebServiceFeature.html#enabled">enabled</a></span></code>
<div class="block">
指定该功能是启用还是禁用
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ======== 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/ws/WebServiceFeature.html#WebServiceFeature--">WebServiceFeature</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>
<span class="tableTab" id="t4"><span><a href="javascript:show(8);">具体的方法</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>abstract <a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/ws/WebServiceFeature.html#getID--">getID</a></span>()</code>
<div class="block">
获取此WebServiceFeature的唯一标识符。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/ws/WebServiceFeature.html#isEnabled--">isEnabled</a></span>()</code>
<div class="block">
如果启用此功能,则返回
<code>true</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">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- --> </a> <h3>字段详细信息</h3> <a name="enabled">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>enabled</h4> <pre>protected boolean enabled</pre>
<div class="block">
指定该功能是启用还是禁用
</div> </li>
</ul> </li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="WebServiceFeature--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>WebServiceFeature</h4> <pre>protected WebServiceFeature()</pre> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getID--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getID</h4> <pre>public abstract <a href="../../../java/lang/String.html" title="class in java.lang">String</a> getID()</pre>
<div class="block">
获取此WebServiceFeature的唯一标识符。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
该功能的唯一标识符。
</dd>
</dl> </li>
</ul> <a name="isEnabled--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>isEnabled</h4> <pre>public boolean isEnabled()</pre>
<div class="block">
如果启用此功能,则返回
<code>true</code>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>true</code>当且仅当该功能被启用时。
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>