Uses of Interface
org.apache.struts2.text.TextProvider
Packages that use TextProvider
Package
Description
Main XWork interfaces and classes.
This package contains a reimagining of the traditional Struts filter dispatchers.
Interceptor classes.
XWork validation subsystem.
XWork default validator classes.
-
Uses of TextProvider in org.apache.struts2
Classes in org.apache.struts2 that implement TextProviderModifier and TypeClassDescriptionclass
Provides a default implementation for the most common actions.Methods in org.apache.struts2 that return TextProviderModifier and TypeMethodDescriptionprotected 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 field -
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) -
Uses of TextProvider in org.apache.struts2.ognl
Fields in org.apache.struts2.ognl declared as TextProviderMethods in org.apache.struts2.ognl with parameters of type TextProviderModifier and TypeMethodDescriptionprotected void
OgnlValueStackFactory.setTextProvider
(TextProvider textProvider) Constructors in org.apache.struts2.ognl with parameters of type TextProviderModifierConstructorDescriptionprotected
OgnlValueStack
(XWorkConverter xworkConverter, RootAccessor accessor, TextProvider prov, SecurityMemberAccess securityMemberAccess) protected
OgnlValueStack
(ValueStack vs, XWorkConverter xworkConverter, RootAccessor accessor, TextProvider prov, SecurityMemberAccess securityMemberAccess) -
Uses of TextProvider in org.apache.struts2.text
Subinterfaces of TextProvider in org.apache.struts2.textModifier and TypeInterfaceDescriptioninterface
Extension Interface for TextProvider to help supporting ResourceBundles.Classes in org.apache.struts2.text that implement TextProviderModifier and TypeClassDescriptionclass
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 org.apache.struts2.text declared as TextProviderModifier and TypeFieldDescriptionprotected TextProvider
StrutsTextProviderFactory.defaultTextProvider
Methods in org.apache.struts2.text that return TextProviderModifier and TypeMethodDescriptionStrutsTextProviderFactory.createInstance
(Class<?> clazz) StrutsTextProviderFactory.createInstance
(ResourceBundle bundle) TextProviderFactory.createInstance
(Class<?> clazz) TextProviderFactory.createInstance
(ResourceBundle bundle) protected TextProvider
StrutsTextProviderFactory.getTextProvider
(Class clazz) protected TextProvider
StrutsTextProviderFactory.getTextProvider
(ResourceBundle bundle) Methods in org.apache.struts2.text with parameters of type TextProviderModifier and TypeMethodDescriptionvoid
StrutsTextProviderFactory.setDefaultTextProvider
(TextProvider defaultTextProvider) Constructors in org.apache.struts2.text with parameters of type TextProviderModifierConstructorDescriptionCompositeTextProvider
(TextProvider[] textProviders) Instantiates aCompositeTextProvider
with some predefinedtextProviders
.Constructor parameters in org.apache.struts2.text with type arguments of type TextProviderModifierConstructorDescriptionCompositeTextProvider
(List<TextProvider> textProviders) Instantiates aCompositeTextProvider
with some predefinedtextProviders
. -
Uses of TextProvider in org.apache.struts2.validator
Subinterfaces of TextProvider in org.apache.struts2.validatorClasses in org.apache.struts2.validator that implement TextProviderModifier and TypeClassDescriptionclass
A default implementation of theValidatorContext
interface.Methods in org.apache.struts2.validator that return TextProviderModifier and TypeMethodDescriptionprotected TextProvider
DelegatingValidatorContext.getTextProvider()
DelegatingValidatorContext.makeTextProvider
(Object object, TextProviderFactory textProviderFactory) Methods in org.apache.struts2.validator with parameters of type TextProviderModifier and TypeMethodDescriptionprotected void
DelegatingValidatorContext.setTextProvider
(TextProvider textProvider) Constructors in org.apache.struts2.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 org.apache.struts2.validator.validators
Classes in org.apache.struts2.validator.validators that implement TextProviderConstructors in org.apache.struts2.validator.validators with parameters of type TextProviderModifierConstructorDescriptionAppendingValidatorContext
(ValidatorContext parent, TextProvider textProvider, String field, String message)