| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icl.saxon.tree.LineNumberMap
Line numbers are not held in nodes in the tree, because they are not usually needed. This class provides a map from element sequence numbers to line numbers: it is linked to the root node of the tree.
| Constructor Summary | |
| LineNumberMap() | |
| Method Summary | |
|  int | getLineNumber(int sequence)Get the line number corresponding to a given sequence number | 
|  void | setLineNumber(int sequence,
              int line)Set the line number corresponding to a given sequence number | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public LineNumberMap()
| Method Detail | 
public void setLineNumber(int sequence,
                          int line)
public int getLineNumber(int sequence)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||