Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.hivemind
Interface Location  view Location download Location.java


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.


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

public Resource getResource()
The resource containing the location.


getLineNumber

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


getColumnNumber

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