Package org.apache.tapestry5.ioc

## Class BaseLocatable

- java.lang.Object
- - org.apache.tapestry5.ioc.BaseLocatable

- All Implemented Interfaces:
    `Locatable`
  Direct Known Subclasses:
    `AbstractBinding`, `BlockImpl`, `ComponentPageElementImpl`, `MutableEmbeddedComponentModelImpl`, `TemplateToken`

      public class BaseLocatable
      extends Object
      implements Locatable

  Base implementation of `Locatable`.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor | Description
    --- | --- | ---
    `protected` | `BaseLocatable​(Location location)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Location` | `getLocation()` | Returns the location associated with this object for error reporting purposes.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### BaseLocatable

          protected BaseLocatable​(Location location)

  - ### Method Detail

    - #### getLocation

          public final Location getLocation()

      Description copied from interface: `Locatable`
      Returns the location associated with this object for error reporting purposes.
      Specified by:
        `getLocation` in interface `Locatable`