Package org.zkoss.util.resource

## Interface Location

-     public interface Location

  Represents a location information inside a document.
  Since:
    6.0.0
  Author:
    tomyeh

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `format​(java.lang.String message)` | Formats the given message by prefixing with the location information.
    `int` | `getColumnNumber()` | Return the column number in the document, or -1 if not available.
    `int` | `getLineNumber()` | Return the line number in the document, or -1 if not available.
    `java.lang.String` | `getPath()` | Returns the path of the document, or null if not available.

- - ### Method Detail

    - #### getPath

          java.lang.String getPath()

      Returns the path of the document, or null if not available.

    - #### getLineNumber

          int getLineNumber()

      Return the line number in the document, or -1 if not available.

    - #### getColumnNumber

          int getColumnNumber()

      Return the column number in the document, or -1 if not available.

    - #### format

          java.lang.String format​(java.lang.String message)

      Formats the given message by prefixing with the location information.