| Package | Description | 
|---|---|
| com.opensymphony.xwork2 | 
 Main XWork interfaces and classes. 
 | 
| 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.config | 
 Classes for Struts configuration and property handling. 
 | 
| org.apache.struts2.dispatcher | 
 This package contains a reimagining of the traditional Struts filter dispatchers. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Location | 
XWorkException.getLocation()
Gets the location of the error, if available 
 | 
| 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)  | 
| Constructor and Description | 
|---|
UnknownHandlerConfig(String name,
                    Location location)  | 
| Modifier and Type | Method and Description | 
|---|---|
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 boolean | 
XmlConfigurationProvider.verifyAction(String className,
            String name,
            Location loc)  | 
protected Class | 
XmlConfigurationProvider.verifyResultType(String className,
                Location loc)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Location | 
DomHelper.getLocationObject(Element element)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
LocationImpl
A simple immutable and serializable implementation of  
Location. | 
| Modifier and Type | Field and Description | 
|---|---|
protected Location | 
Located.location  | 
static Location | 
Location.UNKNOWN
Constant for unknown locations. 
 | 
| 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)  | 
| 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. | 
| 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 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ValidatorConfig.Builder | 
ValidatorConfig.Builder.location(Location loc)  | 
| Modifier and Type | Method and Description | 
|---|---|
Location | 
DefaultSettings.getLocation(String name)  | 
| Modifier and Type | Method and Description | 
|---|---|
Location | 
Dispatcher.Locator.getLocation(Object obj)  | 
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.