org.exolab.adaptx.xslt.dom

Class Location


public class Location
extends java.lang.Object

A class for storing location information

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:54 $

Author:
Keith Visco

Constructor Summary

Location(int line, int column)
Creates a new Location with the given line and column numbers.

Method Summary

int
getColumnNumber()
Returns the column number
int
getLineNumber()
Returns the line number

Constructor Details

Location

public Location(int line,
                int column)
Creates a new Location with the given line and column numbers.

Parameters:
line - the line number
column - the column number

Method Details

getColumnNumber

public int getColumnNumber()
Returns the column number

Returns:
the column number


getLineNumber

public int getLineNumber()
Returns the line number

Returns:
the line number