Uses of Interface
org.apache.struts2.util.location.Location
Package
Description
Main XWork interfaces and classes.
Classes for Struts configuration and property handling.
Configuration entity classes.
Configuration provider classes.
This package contains a reimagining of the traditional Struts filter dispatchers.
XWork util classes.
Classes and utilities used to track location information.
XWork validation subsystem.
-
Uses of Location in org.apache.struts2
Modifier and TypeMethodDescriptionStrutsException.getLocation()
Gets the location of the error, if available -
Uses of Location in org.apache.struts2.config
-
Uses of Location in org.apache.struts2.config.entities
Modifier and TypeMethodDescription -
Uses of Location in org.apache.struts2.config.providers
Modifier and TypeMethodDescriptionprotected 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 void
XmlDocConfigurationProvider.verifyInterceptor
(String className, Location loc) protected Class<?>
XmlDocConfigurationProvider.verifyResultType
(String className, Location loc) -
Uses of Location in org.apache.struts2.dispatcher
-
Uses of Location in org.apache.struts2.util
-
Uses of Location in org.apache.struts2.util.location
Modifier and TypeClassDescriptionclass
A simple immutable and serializable implementation ofLocation
.Modifier and TypeFieldDescriptionprotected Location
Located.location
static final Location
Location.UNKNOWN
Constant for unknown locations.Modifier and TypeMethodDescriptionLocatable.getLocation()
Get the location of this objectLocatableProperties.getLocation()
Located.getLocation()
Get the location of this objectstatic Location
LocationAttributes.getLocation
(Element elem) Same asgetLocation(elem, null)
.static Location
LocationAttributes.getLocation
(Element elem, String description) Returns theLocation
of an element (DOM flavor).static Location
LocationAttributes.getLocation
(Attributes attrs, String description) Returns theLocation
of an element (SAX 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.LocationUtils.LocationFinder.getLocation
(Object obj, String description) Get the location of an objectLocatableProperties.getPropertyLocation
(String key) Modifier and TypeMethodDescriptionstatic LocationImpl
Obtain aLocationImpl
from aLocation
.static boolean
Checks if a location is known, i.e.static boolean
Checks if a location is unknown, i.e.void
Located.setLocation
(Location loc) Set the location of this objectstatic String
Builds a string representation of a location, in the "descripton - uri:line:column
" format (e.g.ModifierConstructorDescriptionLocationImpl
(String description, Location location) Create a location from an existing one, but with a different descriptionLocationImpl
(Location location) Copy constructor. -
Uses of Location in org.apache.struts2.validator
Modifier and TypeMethodDescription