uTools-Manuals/docs/java/javax/xml/crypto/dom/DOMStructure.html

207 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">
compact3
</div>
<div class="subTitle">
javax.xml.crypto.dom
</div>
<h2 class="title" title="Class DOMStructure">Class DOMStructure</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.crypto.dom.DOMStructure</li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Implemented Interfaces:
</dt>
<dd>
<span><a href="../../../../javax/xml/crypto/XMLStructure.html" title="javax.xml.crypto中的接口">XMLStructure</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public class <span class="typeNameLabel">DOMStructure</span>
extends <a href="../../../../java/lang/Object.html" title="class in java.lang">Object</a>
implements <a href="../../../../javax/xml/crypto/XMLStructure.html" title="interface in javax.xml.crypto">XMLStructure</a></pre>
<div class="block">
<span>一个DOM特定的<a href="../../../../javax/xml/crypto/XMLStructure.html" title="javax.xml.crypto中的接口"><code>XMLStructure</code></a></span>
<span>此类的目的是允许使用DOM节点来表示XML签名结构中的可扩展内容任何元素或混合内容</span>
<p> <span>如果需要一系列节点DOMStructure中<code>DOMStructure</code>的节点是序列的第一个节点,并且可以通过调用<a href="../../../../org/w3c/dom/Node.html#getNextSibling--"><code>Node.getNextSibling()</code></a>访问连续的节点。</span> </p>
<p> <span>如果所有者文件<code>DOMStructure</code>是除的目标文档不同<code>XMLSignature</code> ,所述<a href="../../../../javax/xml/crypto/dsig/XMLSignature.html#sign-javax.xml.crypto.dsig.XMLSignContext-"><code>XMLSignature.sign(XMLSignContext)</code></a>方法导入节点到目标文档生成签名之前。</span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.6
</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="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../javax/xml/crypto/dom/DOMStructure.html#DOMStructure-org.w3c.dom.Node-">DOMStructure</a></span>(<a href="../../../../org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a> node)</code>
<div class="block">
创建一个
<code>DOMStructure</code>指定节点的DOMStructure。
</div> </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="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><a href="../../../../org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../javax/xml/crypto/dom/DOMStructure.html#getNode--">getNode</a></span>()</code>
<div class="block">
返回包含在此节点
<code>DOMStructure</code>
</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/crypto/dom/DOMStructure.html#isFeatureSupported-java.lang.String-">isFeatureSupported</a></span>(<a href="../../../../java/lang/String.html" title="class in java.lang">String</a> feature)</code>
<div class="block">
指示是否支持指定的功能。
</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="DOMStructure-org.w3c.dom.Node-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>DOMStructure</h4> <pre>public DOMStructure(<a href="../../../../org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a> node)</pre>
<div class="block">
创建一个
<code>DOMStructure</code>指定节点的DOMStructure。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>node</code> - 节点
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../../java/lang/NullPointerException.html" title="class in java.lang">NullPointerException</a></code> - 如果
<code>node</code>
<code>null</code>
</dd>
</dl> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getNode--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getNode</h4> <pre>public <a href="../../../../org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a> getNode()</pre>
<div class="block">
返回包含在此节点
<code>DOMStructure</code>
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
节点
</dd>
</dl> </li>
</ul> <a name="isFeatureSupported-java.lang.String-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>isFeatureSupported</h4> <pre>public boolean isFeatureSupported(<a href="../../../../java/lang/String.html" title="class in java.lang">String</a> feature)</pre>
<div class="block">
<span class="descfrmTypeLabel">说明从界面复制: <code><a href="../../../../javax/xml/crypto/XMLStructure.html#isFeatureSupported-java.lang.String-">XMLStructure</a></code></span>
</div>
<div class="block">
指示是否支持指定的功能。
</div>
<dl>
<dt>
<span class="overrideSpecifyLabel">Specified by:</span>
</dt>
<dd>
<code><a href="../../../../javax/xml/crypto/XMLStructure.html#isFeatureSupported-java.lang.String-">isFeatureSupported</a></code>在接口
<code><a href="../../../../javax/xml/crypto/XMLStructure.html" title="interface in javax.xml.crypto">XMLStructure</a></code>
</dd>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>feature</code> - 功能名称作为绝对URI
</dd>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
<code>true</code>如果指定的功能被支持,
<code>false</code> false
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../../java/lang/NullPointerException.html" title="class in java.lang">NullPointerException</a></code> - 如果
<code>feature</code>
<code>null</code>
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>