|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Location
A location in a resource. The location is composed of the URI of the resource, and the line and column numbers within that resource (when available), along with a description.
Locations are mostly provided by Locatables objects.
| Field Summary | |
|---|---|
static Location |
UNKNOWN
Constant for unknown locations. |
| Method Summary | |
|---|---|
int |
getColumnNumber()
Get the column number of this location |
String |
getDescription()
Get the description of this location |
int |
getLineNumber()
Get the line number of this location |
List<String> |
getSnippet(int padding)
Gets a source code snippet with the default padding |
String |
getURI()
Get the URI of this location |
| Field Detail |
|---|
static final Location UNKNOWN
| Method Detail |
|---|
String getDescription()
null)String getURI()
null if unknown).int getLineNumber()
-1 if unknown)int getColumnNumber()
-1 if unknown)List<String> getSnippet(int padding)
padding - The amount of lines before and after the error to include
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||