|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.exolab.castor.xml.FileLocation
A simple FileLocation class used for finer grained detail of exceptions
Constructor Summary | |
FileLocation()
Creates a new FileLocation |
|
FileLocation(int line,
int column)
Creates a new FileLocation |
|
FileLocation(java.lang.String filename)
Creates a new FileLocation |
|
FileLocation(java.lang.String filename,
int line,
int column)
Creates a new FileLocation |
Method Summary | |
int |
getColumnNumber()
Returns the column number for this Location |
java.lang.String |
getFilename()
Returns the name of the file to which this FileLocation refers |
int |
getLineNumber()
Returns the line number for this location |
void |
setColumnNumber(int column)
Sets the column number for this Location |
void |
setFilename(java.lang.String filename)
Sets the name of the file to which this FileLocation refers |
void |
setLineNumber(int line)
Sets the line number for this Location |
java.lang.String |
toString()
Returns the String representation of this Location |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FileLocation()
public FileLocation(java.lang.String filename)
filename
- the name of the filepublic FileLocation(int line, int column)
line
- the line numbercolumn
- the column number within the specified linepublic FileLocation(java.lang.String filename, int line, int column)
filename
- the name of the fileline
- the line numbercolumn
- the column number within the specified lineMethod Detail |
public int getColumnNumber()
public java.lang.String getFilename()
public int getLineNumber()
public void setColumnNumber(int column)
column
- the column number for this Locationpublic void setFilename(java.lang.String filename)
filename
- the name of the file to which this FileLocation
referspublic void setLineNumber(int line)
line
- the line number for this Locationpublic java.lang.String toString()
toString
in interface Location
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |