org.castor.xmlctf.xmldiff.xml

Class Location


public class Location
extends java.lang.Object

An immutable class for storing XML file location information.
Version:
$Revision: 0000 $ $Date: 2007-01-09 00:10:00 -0600 (Tue, 09 Jan 2007) $
Author:
Edward Kuns
Since:
Castor 1.1

Constructor Summary

Location(Locator locator)
Creates a new Location with the current values from the provided Locator.

Method Summary

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

Constructor Details

Location

public Location(Locator locator)
Creates a new Location with the current values from the provided Locator.
Parameters:
locator - a SAX locator

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.

Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com