Package net.sourceforge.plantuml.utils
Class LineLocationImpl
java.lang.Object
net.sourceforge.plantuml.utils.LineLocationImpl
- All Implemented Interfaces:
Comparable<LineLocation>
,LineLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(LineLocation other) A description of the resource.Get the parent of this location.int
Position of the line, starting at 0.toString()
-
Constructor Details
-
LineLocationImpl
-
-
Method Details
-
toString
-
oneLineRead
-
getPosition
public int getPosition()Description copied from interface:LineLocation
Position of the line, starting at 0.- Specified by:
getPosition
in interfaceLineLocation
-
getDescription
Description copied from interface:LineLocation
A description of the resource. If the resource is a file, this is the complete path of the file.- Specified by:
getDescription
in interfaceLineLocation
-
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 interfaceLineLocation
-
compareTo
- Specified by:
compareTo
in interfaceComparable<LineLocation>
-