public abstract long getLineNumber ()

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

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