| org.apache.tapestry.ioc.Location
All known Subclasses: org.apache.tapestry.ioc.internal.util.LocationImpl, org.apache.tapestry.ioc.internal.services.StringLocation,
Location | public interface Location (Code) | | 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 Summary | |
int | getColumn() The column number within the line if known, or -1 otherwise. | int | getLine() The line number within the resource, if known, or -1 otherwise. | Resource | getResource() The resource from which the object tagged with a location was derived. |
getColumn | int getColumn()(Code) | | The column number within the line if known, or -1 otherwise.
|
getLine | int getLine()(Code) | | The line number within the resource, if known, or -1 otherwise.
|
getResource | Resource getResource()(Code) | | The resource from which the object tagged with a location was derived.
|
|
|