XMLDOMLocator
class in package klyn.io.xml.dom

    public class XMLDOMLocator extends Object implements DOMLocator:

Object
└ XMLDOMLocator
All Implemented Interfaces: DOMLocator

Immutable location metadata for DOM errors.

@example ```klyn import klyn.io.xml.dom

locator = XMLDOMLocator(lineNumber=10, columnNumber=4) print(locator.lineNumber)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | byteOffset `byteOffset as Int:` | No summary.
public readonly property | columnNumber `columnNumber as Int:` | No summary.
public readonly property | lineNumber `lineNumber as Int:` | No summary.
public readonly property | relatedNode `relatedNode as Node:` | No summary.
public readonly property | uri `uri as String:` | No summary.
public readonly property | utf16Offset `utf16Offset as Int:` | No summary.

Properties inherited from Object: type
Properties inherited from DOMLocator: byteOffset, columnNumber, lineNumber, relatedNode, uri, utf16Offset
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | XMLDOMLocator `XMLDOMLocator(lineNumber as Int = -1, columnNumber as Int = -1, byteOffset as Int = -1, utf16Offset as Int = -1, relatedNode as Node = null, uri as String = null):` | Creates a location value.

Methods inherited from Object: fromJson, toDict, toJson, toString, toXml