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
 java.lang.String getPosition()
          A position inside the resource.
 Resource getResource()
          The resource containing the location.
 

Method Detail

getResource

Resource getResource()
The resource containing the location.


getPosition

java.lang.String getPosition()
A position inside the resource. The format of the position is implementation specific.



Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.