Package org.apache.tapestry5.commons
Interface Location
- 
- All Known Implementing Classes:
- LocationImpl,- StringLocation
 
 public interface Location A kind of tag applied to other objects to identify where they came from, in terms of a file (the resource), a line number, and a column number. This is part of "line precise exception reporting", whereby errors at runtime can be tracked backwards to the files from which they were parsed or otherwise constructed.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
 
- 
- 
- 
Method Detail- 
getResourceResource getResource() The resource from which the object tagged with a location was derived.
 - 
getLineint getLine() The line number within the resource, if known, or -1 otherwise.
 - 
getColumnint getColumn() The column number within the line if known, or -1 otherwise.
 
- 
 
-