## Uses of Interface
com.opensymphony.xwork2.util.location.Location

- Packages that use Location
  Package | Description
  --- | ---
  com.opensymphony.xwork2.config.entities | Configuration entity classes.
  com.opensymphony.xwork2.config.providers | Configuration provider classes.
  com.opensymphony.xwork2.util | XWork util classes.
  com.opensymphony.xwork2.util.location | Classes and utilities used to track location information.
  com.opensymphony.xwork2.validator | XWork validation subsystem.
  org.apache.struts2 |
  org.apache.struts2.config | Classes for Struts configuration and property handling.
  org.apache.struts2.dispatcher | This package contains a reimagining of the traditional Struts filter dispatchers.

- - ### Uses of Location in com.opensymphony.xwork2.config.entities

    Methods in com.opensymphony.xwork2.config.entities with parameters of type Location
    Modifier and Type | Method and Description
    --- | ---
    `InterceptorStackConfig.Builder` | InterceptorStackConfig.Builder.`location(Location loc)`
    `ExceptionMappingConfig.Builder` | ExceptionMappingConfig.Builder.`location(Location loc)`
    `ResultTypeConfig.Builder` | ResultTypeConfig.Builder.`location(Location loc)`
    `PackageConfig.Builder` | PackageConfig.Builder.`location(Location loc)`
    `ResultConfig.Builder` | ResultConfig.Builder.`location(Location loc)`
    `InterceptorConfig.Builder` | InterceptorConfig.Builder.`location(Location loc)`
    `ActionConfig.Builder` | ActionConfig.Builder.`location(Location loc)`

    Constructors in com.opensymphony.xwork2.config.entities with parameters of type Location
    Constructor and Description
    `UnknownHandlerConfig(String name, Location location)`

  - ### Uses of Location in com.opensymphony.xwork2.config.providers

    Methods in com.opensymphony.xwork2.config.providers with parameters of type Location
    Modifier and Type | Method and Description
    --- | ---
    `protected ActionConfig` | XmlDocConfigurationProvider.`buildActionConfig(Element actionElement, Location location, PackageConfig.Builder packageContext, Map<String,ResultConfig> results)`
    `protected ResultConfig` | XmlDocConfigurationProvider.`buildResultConfig(String name, ResultTypeConfig config, Location location, Map<String,String> params)`
    `protected ResultTypeConfig` | XmlDocConfigurationProvider.`buildResultTypeConfig(Element resultTypeElement, Location location, String paramName)`
    `static List<InterceptorMapping>` | InterceptorBuilder.`constructInterceptorReference(InterceptorLocator interceptorLocator, String refName, Map<String,String> refParams, Location location, ObjectFactory objectFactory)` Builds a list of interceptors referenced by the refName in the supplied PackageConfig (InterceptorMapping object).
    `protected void` | XmlDocConfigurationProvider.`verifyAction(String className, Location loc)`
    `protected boolean` | XmlDocConfigurationProvider.`verifyAction(String className, String name, Location loc)` Deprecated. since 6.2.0, use `XmlDocConfigurationProvider.verifyAction(String, Location)`
    `protected void` | XmlDocConfigurationProvider.`verifyInterceptor(String className, Location loc)`
    `protected Class<?>` | XmlDocConfigurationProvider.`verifyResultType(String className, Location loc)`

  - ### Uses of Location in com.opensymphony.xwork2.util

    Methods in com.opensymphony.xwork2.util that return Location
    Modifier and Type | Method and Description
    --- | ---
    `static Location` | DomHelper.`getLocationObject(Element element)`

  - ### Uses of Location in com.opensymphony.xwork2.util.location

    Classes in com.opensymphony.xwork2.util.location that implement Location
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LocationImpl` A simple immutable and serializable implementation of `Location`.

    Fields in com.opensymphony.xwork2.util.location declared as Location
    Modifier and Type | Field and Description
    --- | ---
    `protected Location` | Located.`location`
    `static Location` | Location.`UNKNOWN` Constant for unknown locations.

    Methods in com.opensymphony.xwork2.util.location that return Location
    Modifier and Type | Method and Description
    --- | ---
    `Location` | Locatable.`getLocation()` Get the location of this object
    `Location` | LocatableProperties.`getLocation()`
    `Location` | Located.`getLocation()` Get the location of this object
    `static Location` | LocationAttributes.`getLocation(Attributes attrs, String description)` Returns the `Location` of an element (SAX flavor).
    `static Location` | LocationAttributes.`getLocation(Element elem)` Same as `getLocation(elem, null)`.
    `static Location` | LocationAttributes.`getLocation(Element elem, String description)` Returns the `Location` of an element (DOM flavor).
    `static Location` | LocationUtils.`getLocation(Object obj)` Get the location of an object.
    `static Location` | LocationUtils.`getLocation(Object obj, String description)` Get the location of an object.
    `Location` | LocationUtils.LocationFinder.`getLocation(Object obj, String description)` Get the location of an object
    `Location` | LocatableProperties.`getPropertyLocation(String key)`

    Methods in com.opensymphony.xwork2.util.location with parameters of type Location
    Modifier and Type | Method and Description
    --- | ---
    `static LocationImpl` | LocationImpl.`get(Location location)` Obtain a `LocationImpl` from a `Location`.
    `static boolean` | LocationUtils.`isKnown(Location location)` Checks if a location is known, i.e.
    `static boolean` | LocationUtils.`isUnknown(Location location)` Checks if a location is unknown, i.e.
    `void` | Located.`setLocation(Location loc)` Set the location of this object
    `static String` | LocationUtils.`toString(Location location)` Builds a string representation of a location, in the "`descripton - uri:line:column`" format (e.g.

    Constructors in com.opensymphony.xwork2.util.location with parameters of type Location
    Constructor and Description
    `LocatableProperties(Location loc)`
    `LocationImpl(Location location)` Copy constructor.
    `LocationImpl(String description, Location location)` Create a location from an existing one, but with a different description

  - ### Uses of Location in com.opensymphony.xwork2.validator

    Methods in com.opensymphony.xwork2.validator with parameters of type Location
    Modifier and Type | Method and Description
    --- | ---
    `ValidatorConfig.Builder` | ValidatorConfig.Builder.`location(Location loc)`

  - ### Uses of Location in org.apache.struts2

    Methods in org.apache.struts2 that return Location
    Modifier and Type | Method and Description
    --- | ---
    `Location` | StrutsException.`getLocation()` Gets the location of the error, if available

  - ### Uses of Location in org.apache.struts2.config

    Methods in org.apache.struts2.config that return Location
    Modifier and Type | Method and Description
    --- | ---
    `Location` | DefaultSettings.`getLocation(String name)`

  - ### Uses of Location in org.apache.struts2.dispatcher

    Methods in org.apache.struts2.dispatcher that return Location
    Modifier and Type | Method and Description
    --- | ---
    `Location` | Dispatcher.Locator.`getLocation(Object obj)`

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