Public Member Functions

org.exolab.castor.xml.FileLocation Class Reference

Inheritance diagram for org.exolab.castor.xml.FileLocation:
org.exolab.castor.xml.Location

List of all members.

Public Member Functions

 FileLocation ()
 FileLocation (String filename)
 FileLocation (int line, int column)
 FileLocation (String filename, int line, int column)
int getColumnNumber ()
String getFilename ()
int getLineNumber ()
void setColumnNumber (int column)
void setFilename (String filename)
void setLineNumber (int line)
String toString ()

Detailed Description

A simple FileLocation class used for finer grained detail of exceptions

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:09:09

Constructor & Destructor Documentation

org.exolab.castor.xml.FileLocation.FileLocation (  ) 

Creates a new FileLocation

org.exolab.castor.xml.FileLocation.FileLocation ( String  filename  ) 

Creates a new FileLocation

Parameters:
filename the name of the file
org.exolab.castor.xml.FileLocation.FileLocation ( int  line,
int  column 
)

Creates a new FileLocation

Parameters:
line the line number
column the column number within the specified line
org.exolab.castor.xml.FileLocation.FileLocation ( String  filename,
int  line,
int  column 
)

Creates a new FileLocation

Parameters:
filename the name of the file
line the line number
column the column number within the specified line

Member Function Documentation

int org.exolab.castor.xml.FileLocation.getColumnNumber (  ) 

Returns the column number for this Location

Returns:
the column number for this Location
String org.exolab.castor.xml.FileLocation.getFilename (  ) 

Returns the name of the file to which this FileLocation refers

Returns:
the name of the file to which this FileLocation refers
int org.exolab.castor.xml.FileLocation.getLineNumber (  ) 

Returns the line number for this location

Returns:
the line number for the FileLocation
void org.exolab.castor.xml.FileLocation.setColumnNumber ( int  column  ) 

Sets the column number for this Location

Parameters:
column the column number for this Location

Referenced by org.exolab.castor.xml.Unmarshaller.unmarshal().

void org.exolab.castor.xml.FileLocation.setFilename ( String  filename  ) 

Sets the name of the file to which this FileLocation refers

Parameters:
filename the name of the file to which this FileLocation refers

Referenced by org.exolab.castor.xml.Unmarshaller.unmarshal().

void org.exolab.castor.xml.FileLocation.setLineNumber ( int  line  ) 

Sets the line number for this Location

Parameters:
line the line number for this Location

Referenced by org.exolab.castor.xml.Unmarshaller.unmarshal().

String org.exolab.castor.xml.FileLocation.toString (  ) 

Returns the String representation of this Location

Returns:
the String representation of this Location

Implements org.exolab.castor.xml.Location.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties