org.apache.tapestry
Class Location

java.lang.Object
  extended by org.apache.tapestry.Location
All Implemented Interfaces:
ILocation

public class Location
extends Object
implements ILocation

Implementation of the ILocation interface.

Since:
3.0
Version:
$Id: Location.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
Location(IResourceLocation location)
           
Location(IResourceLocation location, int lineNumber)
           
Location(IResourceLocation location, int lineNumber, int columnNumber)
           
 
Method Summary
 boolean equals(Object other)
           
 int getColumnNumber()
           
 int getLineNumber()
           
 IResourceLocation getResourceLocation()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Location

public Location(IResourceLocation location)

Location

public Location(IResourceLocation location,
                int lineNumber)

Location

public Location(IResourceLocation location,
                int lineNumber,
                int columnNumber)
Method Detail

getResourceLocation

public IResourceLocation getResourceLocation()
Specified by:
getResourceLocation in interface ILocation

getLineNumber

public int getLineNumber()
Specified by:
getLineNumber in interface ILocation

getColumnNumber

public int getColumnNumber()
Specified by:
getColumnNumber in interface ILocation

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object