public class Location
extends java.lang.Object
implements java.io.Serializable
An object that represents the Location of a tag or attribute of a tag in a View Declaration Language file.
Modifier and Type | Field and Description |
---|---|
private int |
column |
private int |
line |
private java.lang.String |
path |
Constructor and Description |
---|
Location(java.lang.String path,
int line,
int column) |
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Return the estimated character column. |
int |
getLine()
Return the line number in the page for this location. |
java.lang.String |
getPath()
Return the file path to the page represented by this location. |
java.lang.String |
toString() |
private final java.lang.String path
private final int line
private final int column
public int getColumn()
Return the estimated character column.
public int getLine()
Return the line number in the page for this location.
public java.lang.String getPath()
Return the file path to the page represented by this location.
public java.lang.String toString()
toString
in class java.lang.Object