|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uk.ac.bham.gloss.DocumentLocator
public class DocumentLocator
Interface for an object that can identify the document and/or position where an error or other event has occurred. Copyright Richard Kaye 2007-8 for GLOSS, http://gloss.bham.ac.uk Usage permitted according to the GPL. No waranty.
Constructor Summary | |
---|---|
DocumentLocator(java.lang.String d,
int l,
int c)
|
Method Summary | |
---|---|
int |
col()
column number, starting at 0; returns -1 if this data is not available. |
java.lang.String |
doc()
document, file or URI name; returns null if this data is not available. |
int |
line()
line number, starting at 1; returns -1 if this data is not available. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DocumentLocator(java.lang.String d, int l, int c)
Method Detail |
---|
public int line()
line
in interface Locator
public int col()
col
in interface Locator
public java.lang.String doc()
doc
in interface Locator
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |