Package net.sf.saxon.tree
Class LineNumberMap
- java.lang.Object
-
- net.sf.saxon.tree.LineNumberMap
-
public class LineNumberMap extends java.lang.ObjectLine 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
-
-
Constructor Summary
Constructors Constructor Description LineNumberMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetLineNumber(int sequence)Get the line number corresponding to a given sequence numbervoidsetLineNumber(int sequence, int line)Set the line number corresponding to a given sequence number
-