Interface Locator


public interface Locator
Locate a place in a document.

Based on SAC's Locator interface by Philippe Le Hegaret.

  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Return the column number where this locator points at.
    int
    Return the line number where this locator points at.
  • Method Details

    • getLineNumber

      int getLineNumber()
      Return the line number where this locator points at.

      The first line number is 1.

      Returns:
      the line number, or -1 if not available.
      See Also:
    • getColumnNumber

      int getColumnNumber()
      Return the column number where this locator points at.

      The first column in a line is position 1.

      Returns:
      the column number, or -1 if not available.
      See Also: