Class Location

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

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