uTools-Manuals/docs/java/javax/xml/xpath/XPathFunction.html

102 lines
3.7 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.

<div class="header">
<div class="subTitle">
compact2, compact3
</div>
<div class="subTitle">
javax.xml.xpath
</div>
<h2 class="title" title="Interface XPathFunction">Interface XPathFunction</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre>public interface <span class="typeNameLabel">XPathFunction</span></pre>
<div class="block">
<p> <span><code>XPathFunction</code>提供对XPath函数的访问。</span> </p>
<p> <span>功能由XPath中的QName和arity标识。</span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.5
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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><a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/xml/xpath/XPathFunction.html#evaluate-java.util.List-">evaluate</a></span>(<a href="../../../java/util/List.html" title="interface in java.util">List</a> args)</code>
<div class="block">
用指定的参数来评估函数。
</div> </td>
</tr>
</tbody>
</table> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="evaluate-java.util.List-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>evaluate</h4> <pre><a href="../../../java/lang/Object.html" title="class in java.lang">Object</a> evaluate(<a href="../../../java/util/List.html" title="interface in java.util">List</a> args)
throws <a href="../../../javax/xml/xpath/XPathFunctionException.html" title="class in javax.xml.xpath">XPathFunctionException</a></pre>
<div class="block">
<p> <span>用指定的参数来评估函数。</span> </p>
<p> <span>在扩展功能的定义中,应尽可能避免副作用。</span> <span>评估XPath表达式的实现没有义务以任何特定顺序或任何特定次数调用扩展函数。</span> </p>
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>args</code> - 参数
<code>null</code>是一个有效的值。
</dd>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
评估
<code>XPath</code>功能的结果为
<code>Object</code>
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../javax/xml/xpath/XPathFunctionException.html" title="class in javax.xml.xpath">XPathFunctionException</a></code> - If
<code>args</code> cannot be evaluated with this
<code>XPath</code> function.
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>