Class LineLocationImpl

java.lang.Object
net.sourceforge.plantuml.LineLocationImpl
All Implemented Interfaces:
java.lang.Comparable<LineLocation>, LineLocation

public class LineLocationImpl extends java.lang.Object implements LineLocation
  • Constructor Details

    • LineLocationImpl

      public LineLocationImpl(java.lang.String desc, LineLocation parent)
  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • oneLineRead

      public LineLocationImpl oneLineRead()
    • getPosition

      public int getPosition()
      Description copied from interface: LineLocation
      Position of the line, starting at 0.
      Specified by:
      getPosition in interface LineLocation
    • getDescription

      public java.lang.String getDescription()
      Description copied from interface: LineLocation
      A description of the ressource. If the ressource is a file, this is the complete path of the file.
      Specified by:
      getDescription in interface LineLocation
    • getParent

      public LineLocation getParent()
      Description copied from interface: LineLocation
      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.
      Specified by:
      getParent in interface LineLocation
    • compareTo

      public int compareTo(LineLocation other)
      Specified by:
      compareTo in interface java.lang.Comparable<LineLocation>