org.exolab.castor.xml
public class FileLocation extends Object implements Location, Serializable
Version: $Revision: 5951 $ $Date: 2005-12-13 14:58:48 -0700 (Tue, 13 Dec 2005) $
Constructor Summary | |
---|---|
FileLocation()
Creates a new FileLocation | |
FileLocation(String filename)
Creates a new FileLocation
| |
FileLocation(int line, int column)
Creates a new FileLocation
| |
FileLocation(String filename, int line, int column)
Creates a new FileLocation
|
Method Summary | |
---|---|
int | getColumnNumber()
Returns the column number for this Location
|
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(String filename)
Sets the name of the file to which this FileLocation refers
|
void | setLineNumber(int line)
Sets the line number for this Location
|
String | toString()
Returns the String representation of this Location
|
Parameters: filename the name of the file
Parameters: line the line number column the column number within the specified line
Parameters: filename the name of the file line the line number column the column number within the specified line
Returns: the column number for this Location
Returns: the name of the file to which this FileLocation refers
Returns: the line number for the FileLocation
Parameters: column the column number for this Location
Parameters: filename the name of the file to which this FileLocation refers
Parameters: line the line number for this Location
Returns: the String representation of this Location