Interface LineLocation

  • All Superinterfaces:
    java.lang.Comparable<LineLocation>
    All Known Implementing Classes:
    LineLocationImpl

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

      • getPosition

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

        java.lang.String getDescription()
        A description of the ressource. If the ressource 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.