| Package | dom.core |
| Interface | public interface DOMLocator |
| Introduced in: | DOM 3 Core |
Note (Mozilla): This is not implemented in Mozilla
See also
| Property | Defined By | ||
|---|---|---|---|
| DOM 3 Core byteOffset : Number [read-only]
The byte offset into the input source this locator is pointing to or -1
if there is no byte offset available. | DOMLocator | ||
| DOM 3 Core columnNumber : Number [read-only]
The column number this locator is pointing to, or -1 if there is no
column number available. | DOMLocator | ||
| DOM 3 Core lineNumber : Number [read-only]
The line number this locator is pointing to, or -1 if there is no
column number available. | DOMLocator | ||
| DOM 3 Core relatedNode : Node [read-only]
The node this locator is pointing to, or null if no node is available. | DOMLocator | ||
| DOM 3 Core uri : DOMString [read-only]
The URI this locator is pointing to, or null if no URI is available. | DOMLocator | ||
| DOM 3 Core utf16Offset : Number [read-only]
The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646],
offset into the input source this locator is pointing to or -1 if there
is no UTF-16 offset available. | DOMLocator | ||
| DOM 3 Core byteOffset | property |
byteOffset:Number [read-only] | Introduced in: | DOM 3 Core |
The byte offset into the input source this locator is pointing to or -1 if there is no byte offset available.
public function get byteOffset():NumberSee also
| DOM 3 Core columnNumber | property |
columnNumber:Number [read-only] | Introduced in: | DOM 3 Core |
The column number this locator is pointing to, or -1 if there is no column number available.
public function get columnNumber():NumberSee also
| DOM 3 Core lineNumber | property |
lineNumber:Number [read-only] | Introduced in: | DOM 3 Core |
The line number this locator is pointing to, or -1 if there is no column number available.
public function get lineNumber():NumberSee also
| DOM 3 Core relatedNode | property |
relatedNode:Node [read-only] | Introduced in: | DOM 3 Core |
The node this locator is pointing to, or null if no node is available.
public function get relatedNode():NodeSee also
| DOM 3 Core uri | property |
uri:DOMString [read-only] | Introduced in: | DOM 3 Core |
The URI this locator is pointing to, or null if no URI is available.
public function get uri():DOMStringSee also
| DOM 3 Core utf16Offset | property |
utf16Offset:Number [read-only] | Introduced in: | DOM 3 Core |
The UTF-16, as defined in [Unicode] and Amendment 1 of [ISO/IEC 10646], offset into the input source this locator is pointing to or -1 if there is no UTF-16 offset available.
public function get utf16Offset():NumberSee also