net.sf.saxon.instruct
public class LocationMap extends Object implements LocationProvider, Serializable
| Constructor Summary | |
|---|---|
| LocationMap()
Create a location map | |
| Method Summary | |
|---|---|
| int | allocateLocationId(String module, int lineNumber)
Allocate a location identifier to an expression |
| int | getColumnNumber(long locationId) |
| int | getLineNumber(long locationId)
Get the line number corresponding to a locationId |
| String | getSystemId(long locationId)
Get the system identifier corresponding to a locationId |
Parameters: module the URI (system identifier) of the module lineNumber the line number of the expression within the module
Returns: the corresponding location identifier
Parameters: locationId the location identifier
Returns: the corresponding line number
Parameters: locationId the location identifier
Returns: the corresponding system identifier