DOMLocator is an interface that describes a location (e.g.
where an error occurred).
See also the Document Object Model (DOM) Level 3 Core Specification.
| Modifier and Type | Method and Description |
|---|---|
| public int | getByteOffset()
The byte offset into the input source this locator is pointing to or
|
| public int | getColumnNumber()
The column number this locator is pointing to, or |
| public int | getLineNumber()
The line number this locator is pointing to, or |
| public Node | |
| public String | |
| public int | getUtf16Offset()
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
|
| getByteOffset | back to summary |
|---|---|
| public int getByteOffset() The byte offset into the input source this locator is pointing to or
| |
| getColumnNumber | back to summary |
|---|---|
| public int getColumnNumber() The column number this locator is pointing to, or | |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() The line number this locator is pointing to, or | |
| getRelatedNode | back to summary |
|---|---|
| public Node getRelatedNode() The node this locator is pointing to, or | |
| getUri | back to summary |
|---|---|
| public String getUri() The URI this locator is pointing to, or | |
| getUtf16Offset | back to summary |
|---|---|
| public int getUtf16Offset() 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
| |