Uses of Interface
com.opensymphony.xwork2.TextProvider
Packages that use TextProvider
Package
Description
Main XWork interfaces and classes.
XWork validation subsystem.
XWork default validator classes.
This package contains a reimagining of the traditional Struts filter dispatchers.
-
Uses of TextProvider in com.opensymphony.xwork2
Subinterfaces of TextProvider in com.opensymphony.xwork2Modifier and TypeInterfaceDescriptioninterface
Extension Interface for TextProvider to help supporting ResourceBundles.Classes in com.opensymphony.xwork2 that implement TextProviderModifier and TypeClassDescriptionclass
Provides a default implementation for the most common actions.class
This is a compositeTextProvider
that takes in an array orList
ofTextProvider
s, it will consult each of them in order to get a composite result.class
DefaultTextProvider gets texts from only the default resource bundles associated with the default bundles.class
Default TextProvider implementation.Fields in com.opensymphony.xwork2 declared as TextProviderModifier and TypeFieldDescriptionprotected TextProvider
StrutsTextProviderFactory.defaultTextProvider
Methods in com.opensymphony.xwork2 that return TextProviderModifier and TypeMethodDescriptionStrutsTextProviderFactory.createInstance
(Class clazz) StrutsTextProviderFactory.createInstance
(ResourceBundle bundle) TextProviderFactory.createInstance
(Class clazz) TextProviderFactory.createInstance
(ResourceBundle bundle) protected TextProvider
ActionSupport.getTextProvider()
If called first time it will createTextProviderFactory
, inject dependency (ifContainer
is accesible) into in, then will create newTextProvider
and store it in a field for future references and at the returns reference to that fieldprotected TextProvider
StrutsTextProviderFactory.getTextProvider
(Class clazz) protected TextProvider
StrutsTextProviderFactory.getTextProvider
(ResourceBundle bundle) Methods in com.opensymphony.xwork2 with parameters of type TextProviderModifier and TypeMethodDescriptionvoid
StrutsTextProviderFactory.setDefaultTextProvider
(TextProvider defaultTextProvider) Constructors in com.opensymphony.xwork2 with parameters of type TextProviderModifierConstructorDescriptionCompositeTextProvider
(TextProvider[] textProviders) Instantiates aCompositeTextProvider
with some predefinedtextProviders
.Constructor parameters in com.opensymphony.xwork2 with type arguments of type TextProviderModifierConstructorDescriptionCompositeTextProvider
(List<TextProvider> textProviders) Instantiates aCompositeTextProvider
with some predefinedtextProviders
. -
Uses of TextProvider in com.opensymphony.xwork2.ognl
Fields in com.opensymphony.xwork2.ognl declared as TextProviderMethods in com.opensymphony.xwork2.ognl with parameters of type TextProviderModifier and TypeMethodDescriptionprotected void
OgnlValueStackFactory.setTextProvider
(TextProvider textProvider) Constructors in com.opensymphony.xwork2.ognl with parameters of type TextProviderModifierConstructorDescriptionprotected
OgnlValueStack
(XWorkConverter xworkConverter, CompoundRootAccessor accessor, TextProvider prov, boolean allowStaticFieldAccess) Deprecated.protected
OgnlValueStack
(XWorkConverter xworkConverter, RootAccessor accessor, TextProvider prov, SecurityMemberAccess securityMemberAccess) protected
OgnlValueStack
(ValueStack vs, XWorkConverter xworkConverter, CompoundRootAccessor accessor, TextProvider prov, boolean allowStaticFieldAccess) Deprecated.since 6.4.0, useOgnlValueStack(ValueStack, XWorkConverter, RootAccessor, TextProvider, SecurityMemberAccess)
instead.protected
OgnlValueStack
(ValueStack vs, XWorkConverter xworkConverter, RootAccessor accessor, TextProvider prov, SecurityMemberAccess securityMemberAccess) -
Uses of TextProvider in com.opensymphony.xwork2.validator
Subinterfaces of TextProvider in com.opensymphony.xwork2.validatorClasses in com.opensymphony.xwork2.validator that implement TextProviderModifier and TypeClassDescriptionclass
A default implementation of theValidatorContext
interface.Methods in com.opensymphony.xwork2.validator that return TextProviderModifier and TypeMethodDescriptionprotected TextProvider
DelegatingValidatorContext.getTextProvider()
DelegatingValidatorContext.makeTextProvider
(Object object, TextProviderFactory textProviderFactory) Methods in com.opensymphony.xwork2.validator with parameters of type TextProviderModifier and TypeMethodDescriptionprotected void
DelegatingValidatorContext.setTextProvider
(TextProvider textProvider) Constructors in com.opensymphony.xwork2.validator with parameters of type TextProviderModifierConstructorDescriptionDelegatingValidatorContext
(ValidationAware validationAware, TextProvider textProvider, LocaleProvider localeProvider) Creates a new validation context given a ValidationAware object, and a text and locale provider. -
Uses of TextProvider in com.opensymphony.xwork2.validator.validators
Classes in com.opensymphony.xwork2.validator.validators that implement TextProviderConstructors in com.opensymphony.xwork2.validator.validators with parameters of type TextProviderModifierConstructorDescriptionAppendingValidatorContext
(ValidatorContext parent, TextProvider textProvider, String field, String message) -
Uses of TextProvider in org.apache.struts2.action
Classes in org.apache.struts2.action that implement TextProviderModifier and TypeClassDescriptionclass
An abstract Action that can be extended to process the incoming CSP violation reports.class
The default implementation ofCspReportAction
that simply logs the JSON object that contains the details of the CSP violation. -
Uses of TextProvider in org.apache.struts2.components
Methods in org.apache.struts2.components with parameters of type TextProviderModifier and TypeMethodDescriptionDate.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) -
Uses of TextProvider in org.apache.struts2.dispatcher
Classes in org.apache.struts2.dispatcher that implement TextProviderModifier and TypeClassDescriptionclass
A simple action support class that sets properties to be able to serve -
Uses of TextProvider in org.apache.struts2.interceptor
Methods in org.apache.struts2.interceptor that return TextProviderModifier and TypeMethodDescriptionprotected TextProvider
AbstractFileUploadInterceptor.getTextProvider
(Object action)
OgnlValueStack(XWorkConverter, RootAccessor, TextProvider, SecurityMemberAccess)
instead.