public class LocationInfo extends Object implements ILocationInfo
EMPTY| Constructor and Description |
|---|
LocationInfo(int offset,
int textLength,
int line,
int column,
URL fileUrl) |
LocationInfo(int line,
int column,
URL fileUrl) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn() |
URL |
getFileUrl() |
int |
getLine()
One-based line number of this feature in its top-level container
|
int |
getOffset()
The offset of the feature in its top-level container
|
int |
getTextLength()
The length of the feature's text in its top-level container
|
boolean |
hasLocation() |
public LocationInfo(int line,
int column,
URL fileUrl)
public LocationInfo(int offset,
int textLength,
int line,
int column,
URL fileUrl)
public boolean hasLocation()
hasLocation in interface ILocationInfopublic int getOffset()
ILocationInfogetOffset in interface ILocationInfopublic int getTextLength()
ILocationInfogetTextLength in interface ILocationInfopublic int getLine()
ILocationInfogetLine in interface ILocationInfopublic int getColumn()
getColumn in interface ILocationInfopublic URL getFileUrl()
getFileUrl in interface ILocationInfoCopyright © 2022. All rights reserved.