org.exolab.adaptx.xslt.dom
Class Location

java.lang.Object
  extended by org.exolab.adaptx.xslt.dom.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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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