Locator
interfacein packageorg.xml.sax
public interface Locator:
Locator

Location information for SAX document events.

A parser may provide a locator before startDocument; values are reliable only during SAX callbacks.

@example `klyn import org.xml.sax

locator as Locator = null if locator is not null: print(locator.getLineNumber())

Methods
Modifier and Type Member Description
public getColumnNumber
getColumnNumber() as Int
Returns the column number where the current event ends.
public getLineNumber
getLineNumber() as Int
Returns the line number where the current event ends.
public getPublicId
getPublicId() as String
Returns the public identifier for the current document event.
public getSystemId
getSystemId() as String
Returns the system identifier for the current document event.