Package | Description |
---|---|
com.opensymphony.xwork2 |
Main XWork interfaces and classes.
|
com.opensymphony.xwork2.ognl | |
com.opensymphony.xwork2.validator |
XWork validation subsystem.
|
com.opensymphony.xwork2.validator.validators |
XWork default validator classes.
|
org.apache.struts2.components | |
org.apache.struts2.dispatcher |
This package contains a reimagining of the traditional Struts filter dispatchers.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ResourceBundleTextProvider
Extension Interface for TextProvider to help supporting ResourceBundles.
|
Modifier and Type | Class and Description |
---|---|
class |
ActionSupport
Provides a default implementation for the most common actions.
|
class |
CompositeTextProvider
This is a composite
TextProvider that takes in an array or List of TextProvider s, it will
consult each of them in order to get a composite result. |
class |
DefaultTextProvider
DefaultTextProvider gets texts from only the default resource bundles associated with the default bundles.
|
class |
TextProviderSupport
Default TextProvider implementation.
|
Modifier and Type | Field and Description |
---|---|
protected TextProvider |
StrutsTextProviderFactory.defaultTextProvider |
Modifier and Type | Method and Description |
---|---|
TextProvider |
StrutsTextProviderFactory.createInstance(Class clazz) |
TextProvider |
TextProviderFactory.createInstance(Class clazz) |
TextProvider |
StrutsTextProviderFactory.createInstance(ResourceBundle bundle) |
TextProvider |
TextProviderFactory.createInstance(ResourceBundle bundle) |
protected TextProvider |
ActionSupport.getTextProvider()
If called first time it will create
TextProviderFactory ,
inject dependency (if Container is accesible) into in,
then will create new TextProvider and store it in a field
for future references and at the returns reference to that field |
protected TextProvider |
StrutsTextProviderFactory.getTextProvider(Class clazz) |
protected TextProvider |
StrutsTextProviderFactory.getTextProvider(ResourceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
void |
StrutsTextProviderFactory.setDefaultTextProvider(TextProvider defaultTextProvider) |
Constructor and Description |
---|
CompositeTextProvider(TextProvider[] textProviders)
Instantiates a
CompositeTextProvider with some predefined textProviders . |
Constructor and Description |
---|
CompositeTextProvider(List<TextProvider> textProviders)
Instantiates a
CompositeTextProvider with some predefined textProviders . |
Modifier and Type | Field and Description |
---|---|
protected TextProvider |
OgnlValueStackFactory.textProvider |
Modifier and Type | Method and Description |
---|---|
protected void |
OgnlValueStackFactory.setTextProvider(TextProvider textProvider) |
Constructor and Description |
---|
OgnlValueStack(XWorkConverter xworkConverter,
CompoundRootAccessor accessor,
TextProvider prov,
boolean allowStaticMethodAccess,
boolean allowStaticFieldAccess) |
Modifier and Type | Interface and Description |
---|---|
interface |
ValidatorContext
The context for validation.
|
Modifier and Type | Class and Description |
---|---|
class |
DelegatingValidatorContext
A default implementation of the
ValidatorContext interface. |
Modifier and Type | Method and Description |
---|---|
protected TextProvider |
DelegatingValidatorContext.getTextProvider() |
TextProvider |
DelegatingValidatorContext.makeTextProvider(Object object,
TextProviderFactory textProviderFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
DelegatingValidatorContext.setTextProvider(TextProvider textProvider) |
Constructor and Description |
---|
DelegatingValidatorContext(ValidationAware validationAware,
TextProvider textProvider,
LocaleProvider localeProvider)
Creates a new validation context given a ValidationAware object, and a text and locale provider.
|
Modifier and Type | Class and Description |
---|---|
static class |
VisitorFieldValidator.AppendingValidatorContext |
Constructor and Description |
---|
AppendingValidatorContext(ValidatorContext parent,
TextProvider textProvider,
String field,
String message) |
Modifier and Type | Method and Description |
---|---|
String |
Date.formatTime(TextProvider tp,
ZonedDateTime date)
Calculates the difference in time from now to the given date, and outputs it nicely.
|
void |
I18n.setTextProvider(TextProvider textProvider) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultActionSupport
A simple action support class that sets properties to be able to serve
|
Copyright © 2000–2020 Apache Software Foundation. All rights reserved.