Package net.sourceforge.plantuml.utils
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
A description of the resource.LineLocation
getParent()
Get the parent of this location.int
getPosition()
Position of the line, starting at 0.-
Methods inherited from interface java.lang.Comparable
compareTo
-
-
-
-
Method Detail
-
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.
-
-