Package net.sourceforge.plantuml
Class LineLocationImpl
java.lang.Object
net.sourceforge.plantuml.LineLocationImpl
- All Implemented Interfaces:
java.lang.Comparable<LineLocation>
,LineLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(LineLocation other) java.lang.String
A description of the ressource.Get the parent of this location.int
Position of the line, starting at 0.java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
LineLocationImpl
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
oneLineRead
-
getPosition
public int getPosition()Description copied from interface:LineLocation
Position of the line, starting at 0.- Specified by:
getPosition
in interfaceLineLocation
-
getDescription
public java.lang.String getDescription()Description copied from interface:LineLocation
A description of the ressource. If the ressource 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 interfacejava.lang.Comparable<LineLocation>
-