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