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 intcompareTo(LineLocation other)StringgetDescription()A description of the resource.LineLocationgetParent()Get the parent of this location.intgetPosition()Position of the line, starting at 0.LineLocationImploneLineRead()StringtoString()
-
-
-
Constructor Detail
-
LineLocationImpl
public LineLocationImpl(String desc, LineLocation parent)
-
-
Method Detail
-
oneLineRead
public LineLocationImpl oneLineRead()
-
getPosition
public int getPosition()
Description copied from interface:LineLocationPosition of the line, starting at 0.- Specified by:
getPositionin interfaceLineLocation
-
getDescription
public String getDescription()
Description copied from interface:LineLocationA description of the resource. If the resource is a file, this is the complete path of the file.- Specified by:
getDescriptionin interfaceLineLocation
-
getParent
public LineLocation getParent()
Description copied from interface:LineLocationGet 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:
getParentin interfaceLineLocation
-
compareTo
public int compareTo(LineLocation other)
- Specified by:
compareToin interfaceComparable<LineLocation>
-
-