|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.saxon.instruct.LocationMap
A LocationMap allocates integer codes to (systemId, lineNumber) pairs. The integer codes are held inside an Expression object to track the location of the expression in the source code
Constructor Summary | |
LocationMap()
|
Method Summary | |
int |
allocateLocationId(java.lang.String module,
int lineNumber)
Allocate a location identifier to an expression |
int |
getLineNumber(int locationId)
Get the line number corresponding to a locationId |
java.lang.String |
getSystemId(int locationId)
Get the system identifier corresponding to a locationId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocationMap()
Method Detail |
public int allocateLocationId(java.lang.String module, int lineNumber)
public java.lang.String getSystemId(int locationId)
getSystemId
in interface LocationProvider
public int getLineNumber(int locationId)
getLineNumber
in interface LocationProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |