Package net.sourceforge.plantuml.utils
Interface LineLocation
- All Superinterfaces:
Comparable<LineLocation>
- All Known Implementing Classes:
LineLocationImpl
Indicates the location of a line of code within a resource. The resource
maybe a local file or a remote URL.
-
Method Summary
Modifier and TypeMethodDescriptionA description of the resource.Get the parent of this location.int
Position of the line, starting at 0.Methods inherited from interface java.lang.Comparable
compareTo
-
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.
-