com.opensymphony.xwork2.util.location

## Class Located

- java.lang.Object
- - com.opensymphony.xwork2.util.location.Located

- All Implemented Interfaces:
    Locatable
  Direct Known Subclasses:
    ActionConfig, ExceptionMappingConfig, InterceptorConfig, InterceptorStackConfig, LocatableConstantFactory, LocatableFactory, PackageConfig, ResultConfig, ResultTypeConfig, UnknownHandlerConfig, ValidatorConfig

      public abstract class Located
      extends Object
      implements Locatable

  Base class for location aware objects

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected Location` | `location`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Located()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Location` | `getLocation()` Get the location of this object
    `void` | `setLocation(Location loc)` Set the location of this object

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

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

- - ### Field Detail

    - #### location

          protected Location location

  - ### Constructor Detail

    - #### Located

          public Located()

  - ### Method Detail

    - #### getLocation

          public Location getLocation()

      Get the location of this object
      Specified by:
        `getLocation` in interface `Locatable`
      Returns:
        the location

    - #### setLocation

          public void setLocation(Location loc)

      Set the location of this object
      Parameters:
        `loc` - the location

Copyright © 2000–2024 Apache Software Foundation. All rights reserved.