uTools-Manuals/docs/java/org/w3c/dom/DOMLocator.html

157 lines
6.4 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">
compact2, compact3
</div>
<div class="subTitle">
org.w3c.dom
</div>
<h2 class="title" title="Interface DOMLocator">Interface DOMLocator</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr/> <br/> <pre>public interface <span class="typeNameLabel">DOMLocator</span></pre>
<div class="block">
<span><code>DOMLocator</code>是描述位置的接口(例如发生错误的地方)。</span>
<p> <span>另见<a href="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407">Document Object Model (DOM) Level 3 Core Specification</a></span> </p>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
DOM 3级
</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>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/w3c/dom/DOMLocator.html#getByteOffset--">getByteOffset</a></span>()</code>
<div class="block">
字节偏移到该定位器指向或者输入源
<code>-1</code>如果没有字节偏移量可用。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/w3c/dom/DOMLocator.html#getColumnNumber--">getColumnNumber</a></span>()</code>
<div class="block">
列号此定位器指向,或
<code>-1</code>如果没有列数可用。
</div> </td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/w3c/dom/DOMLocator.html#getLineNumber--">getLineNumber</a></span>()</code>
<div class="block">
行号此定位器指向,或
<code>-1</code>如果没有列数可用。
</div> </td>
</tr>
<tr class="rowColor" id="i3">
<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="../../../org/w3c/dom/DOMLocator.html#getRelatedNode--">getRelatedNode</a></span>()</code>
<div class="block">
节点此定位器指向,或
<code>null</code>如果没有可用的节点。
</div> </td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code><a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/w3c/dom/DOMLocator.html#getUri--">getUri</a></span>()</code>
<div class="block">
该URI这个定位器指向
<code>null</code>如果没有URI可用。
</div> </td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/w3c/dom/DOMLocator.html#getUtf16Offset--">getUtf16Offset</a></span>()</code>
<div class="block">
如[Unicode的]和[ISO / IEC 10646]的修正1中定义的UTF-16偏移到该定位器指向或者输入源
<code>-1</code>如果没有UTF-16的偏移可用。
</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="getLineNumber--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getLineNumber</h4> <pre>int getLineNumber()</pre>
<div class="block">
行号此定位器指向,或
<code>-1</code>如果没有列数可用。
</div> </li>
</ul> <a name="getColumnNumber--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getColumnNumber</h4> <pre>int getColumnNumber()</pre>
<div class="block">
列号此定位器指向,或
<code>-1</code>如果没有列数可用。
</div> </li>
</ul> <a name="getByteOffset--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getByteOffset</h4> <pre>int getByteOffset()</pre>
<div class="block">
如果没有
<code>-1</code>的字节偏移,则该定位器指向的输入源的字节偏移量或-1。
</div> </li>
</ul> <a name="getUtf16Offset--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getUtf16Offset</h4> <pre>int getUtf16Offset()</pre>
<div class="block">
如[Unicode的]和[ISO / IEC 10646]的修正1中定义的UTF-16偏移到该定位器指向或者输入源
<code>-1</code>如果没有UTF-16的偏移可用。
</div> </li>
</ul> <a name="getRelatedNode--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getRelatedNode</h4> <pre><a href="../../../org/w3c/dom/Node.html" title="interface in org.w3c.dom">Node</a> getRelatedNode()</pre>
<div class="block">
节点此定位器指向,或
<code>null</code>如果没有可用的节点。
</div> </li>
</ul> <a name="getUri--">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>getUri</h4> <pre><a href="../../../java/lang/String.html" title="class in java.lang">String</a> getUri()</pre>
<div class="block">
该URI这个定位器指向
<code>null</code>如果没有URI可用。
</div> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>