org.exolab.adaptx.xslt.dom

Class Location


public class Location
extends java.lang.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

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