|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Locator
Identifies a source document and a location in that source. This interface is used to locate an error or to track progress through the source. All methods are thread-safe.
getSourceURI()
is called to obtain the URI identification of the
source. getSourcePosition()
returns the current position in that
source, whereas getLineNumber()
returns that position as a line
number (beginning at one).
Method Summary | |
int |
getLineNumber()
Deprecated. Returns the current line number in the source. |
int |
getSourcePosition()
Deprecated. Returns the current character position in the source. |
java.lang.String |
getSourceURI()
Deprecated. Returns the source URI. |
Method Detail |
public int getLineNumber()
public int getSourcePosition()
public java.lang.String getSourceURI()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |