|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.enhydra.xml.xmlc.misc.LineNumberMap.Line
Structure to record the char offset in an input stream for a line. Objects of this class are immutable.
Constructor Summary | |
(package private) |
LineNumberMap.Line(String fileName,
int lineNum,
int streamLineNum,
int streamCharOffset)
Constructor |
Method Summary | |
String |
getFileName()
Get the file name. |
int |
getLineNum()
Get one-based source line number. |
int |
getStreamCharOffset()
Zero-based stream char offset. |
int |
getStreamLineNum()
Get one-based stream line number. |
String |
toString()
Get String reprsentation for debugging |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
LineNumberMap.Line(String fileName, int lineNum, int streamLineNum, int streamCharOffset)
Method Detail |
public String getFileName()
public int getLineNum()
public int getStreamLineNum()
public int getStreamCharOffset()
public String toString()
toString
in class Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |