Package org.castor.xmlctf.xmldiff.xml
Class Location
java.lang.Object
org.castor.xmlctf.xmldiff.xml.Location
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the column number.int
Returns the line number.
-
Constructor Details
-
Location
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.
-