|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Description:
Describes the origin of a Unit. The default implementation
assumes a file with line numbers. Other implementations
are possible, in which case some of the standard methods may not
be meaningful.
REVIEW: do we need a general concept of resource references?
Unit| Field Summary | |
static int |
MINIMUM_COL
|
static int |
MINIMUM_LINE
|
| Method Summary | |
int |
getEndCol()
End column. |
int |
getEndLine()
End line. |
java.lang.String |
getReference()
Return file path, URI or other reference string. |
int |
getStartCol()
Start column. |
int |
getStartLine()
Start line. |
| Field Detail |
public static final int MINIMUM_LINE
public static final int MINIMUM_COL
| Method Detail |
public java.lang.String getReference()
public int getStartLine()
public int getStartCol()
public int getEndLine()
public int getEndCol()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||