org.castor.xmlctf.xmldiff.xml
Class Location

java.lang.Object
  extended by org.castor.xmlctf.xmldiff.xml.Location

public class Location
extends java.lang.Object

An immutable class for storing XML file location information.

Since:
Castor 1.1
Version:
$Revision: 0000 $ $Date: 2007-01-09 00:10:00 -0600 (Tue, 09 Jan 2007) $
Author:
Edward Kuns

Constructor Summary
Location(org.xml.sax.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Location

public Location(org.xml.sax.Locator locator)
Creates a new Location with the current values from the provided Locator.

Parameters:
locator - a SAX locator
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.


Copyright © 2011. All Rights Reserved.