org.apache.hivemind
Interface Location

All Known Implementing Classes:
LocationImpl

public interface Location

Represents a location within a resource; this is universally used to support error reporting, by relating run-time objects back to specific locations wtihin specific resources.

Author:
Howard M. Lewis Ship, glongman@intelligentworks.com

Method Summary
 int getColumnNumber()
          The column number, or -1 if not known.
 int getLineNumber()
          The line within the resource containing the location, or -1 if the line number is not known.
 Resource getResource()
          The resource containing the location.
 

Method Detail

getResource

Resource getResource()
The resource containing the location.


getLineNumber

int getLineNumber()
The line within the resource containing the location, or -1 if the line number is not known.


getColumnNumber

int getColumnNumber()
The column number, or -1 if not known.