Interface LocationProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getColumnNumber​(long locationId)
      Get the column number within the document or module containing a particular location
      int getLineNumber​(long locationId)
      Get the line number within the document or module containing a particular location
      java.lang.String getSystemId​(long locationId)
      Get the URI of the document or module containing a particular location
    • Method Detail

      • getSystemId

        java.lang.String getSystemId​(long locationId)
        Get the URI of the document or module containing a particular location
        Parameters:
        locationId - identifier of the location in question (as passed down the Receiver pipeline)
        Returns:
        the URI of the document or module.
      • getLineNumber

        int getLineNumber​(long locationId)
        Get the line number within the document or module containing a particular location
        Parameters:
        locationId - identifier of the location in question (as passed down the Receiver pipeline)
        Returns:
        the line number within the document or module.
      • getColumnNumber

        int getColumnNumber​(long locationId)
        Get the column number within the document or module containing a particular location
        Parameters:
        locationId - identifier of the location in question (as passed down the Receiver pipeline)
        Returns:
        the column number within the document or module, or -1 if this is not available