public abstract long getLineNumber ()

Returns the line number of the character offset returned by getPosition().

Returns:  a line number or NOPOS if and only if getPosition() returns NOPOS