Class LocationImpl
- java.lang.Object
 - 
- org.apache.tapestry5.ioc.internal.util.LocationImpl
 
 
- 
- All Implemented Interfaces:
 Location
public final class LocationImpl extends Object implements Location
Implementation class forLocation. 
- 
- 
Constructor Summary
Constructors Constructor Description LocationImpl(Resource resource)LocationImpl(Resource resource, int line)LocationImpl(Resource resource, int line, int column) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetColumn()The column number within the line if known, or -1 otherwise.intgetLine()The line number within the resource, if known, or -1 otherwise.ResourcegetResource()The resource from which the object tagged with a location was derived.inthashCode()StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
LocationImpl
public LocationImpl(Resource resource)
 
- 
LocationImpl
public LocationImpl(Resource resource, int line)
 
- 
LocationImpl
public LocationImpl(Resource resource, int line, int column)
 
 - 
 
- 
Method Detail
- 
getResource
public Resource getResource()
Description copied from interface:LocationThe resource from which the object tagged with a location was derived.- Specified by:
 getResourcein interfaceLocation
 
- 
getLine
public int getLine()
Description copied from interface:LocationThe line number within the resource, if known, or -1 otherwise. 
- 
getColumn
public int getColumn()
Description copied from interface:LocationThe column number within the line if known, or -1 otherwise. 
 - 
 
 -