public interface DOMLocator:
Location metadata for DOM errors.
import org.w3c.dom locator as DOMLocator = error.location
| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | byteOffsetbyteOffset as Int |
Byte offset, or -1 when unknown. |
| public readonly property | columnNumbercolumnNumber as Int |
One-based column number, or -1 when unknown. |
| public readonly property | lineNumberlineNumber as Int |
One-based line number, or -1 when unknown. |
| public readonly property | relatedNoderelatedNode as Node |
Related node, when known. |
| public readonly property | uriuri as String |
URI associated with the location. |
| public readonly property | utf16Offsetutf16Offset as Int |
UTF-16 offset, or -1 when unknown. |