Interface LineLocation

All Superinterfaces:
Comparable<LineLocation>
All Known Implementing Classes:
LineLocationImpl

public interface LineLocation extends Comparable<LineLocation>
Indicates the location of a line of code within a resource. The resource maybe a local file or a remote URL.
  • Method Details

    • getPosition

      int getPosition()
      Position of the line, starting at 0.
    • getDescription

      String getDescription()
      A description of the resource. If the resource is a file, this is the complete path of the file.
    • getParent

      LineLocation getParent()
      Get the parent of this location. If this resource has been included by a !include or !includeurl directive, this return the location of the !include line.