Package org.apache.struts2.util.location

# Class Located

java.lang.Object
org.apache.struts2.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
  Description
  `protected Location`
  `location`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Located()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### location

    protected Location location

- ## Constructor Details

  - ### Located

    public Located()

- ## Method Details

  - ### 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