org.exolab.adaptx.xslt.dom

Class Location

public class Location extends Object

A class for storing location information

Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $

Author: Keith Visco

Constructor Summary
Location(int line, int column)
Creates a new Location with the given line and column numbers.
Method Summary
intgetColumnNumber()
Returns the column number
intgetLineNumber()
Returns the line number

Constructor Detail

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 Detail

getColumnNumber

public int getColumnNumber()
Returns the column number

Returns: the column number

getLineNumber

public int getLineNumber()
Returns the line number

Returns: the line number