Package net.sourceforge.plantuml
Class LineLocationImpl
- java.lang.Object
-
- net.sourceforge.plantuml.LineLocationImpl
-
- All Implemented Interfaces:
Comparable<LineLocation>
,LineLocation
public class LineLocationImpl extends Object implements LineLocation
-
-
Constructor Summary
Constructors Constructor Description LineLocationImpl(String desc, LineLocation parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(LineLocation other)
String
getDescription()
A description of the resource.LineLocation
getParent()
Get the parent of this location.int
getPosition()
Position of the line, starting at 0.LineLocationImpl
oneLineRead()
String
toString()
-
-
-
Constructor Detail
-
LineLocationImpl
public LineLocationImpl(String desc, LineLocation parent)
-
-
Method Detail
-
oneLineRead
public LineLocationImpl oneLineRead()
-
getPosition
public int getPosition()
Description copied from interface:LineLocation
Position of the line, starting at 0.- Specified by:
getPosition
in interfaceLineLocation
-
getDescription
public String 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
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 interfaceLineLocation
-
compareTo
public int compareTo(LineLocation other)
- Specified by:
compareTo
in interfaceComparable<LineLocation>
-
-