| java.lang.Object net.sf.saxon.tree.LineNumberMap
LineNumberMap | public class LineNumberMap (Code) | | 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.
author: Michael H. Kay |
LineNumberMap | public LineNumberMap()(Code) | | |
getLineNumber | public int getLineNumber(int sequence)(Code) | | Get the line number corresponding to a given sequence number
|
setLineNumber | public void setLineNumber(int sequence, int line)(Code) | | Set the line number corresponding to a given sequence number
|
|
|