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 TypeClassDescriptionclassProvides a default implementation for the most common actions.Methods in org.apache.struts2 that return TextProviderModifier and TypeMethodDescriptionprotected TextProviderActionSupport.getTextProvider()If called first time it will createTextProviderFactory, inject dependency (ifContaineris accesible) into in, then will create newTextProviderand 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 TypeClassDescriptionclassAn abstract Action that can be extended to process the incoming CSP violation reports.classThe default implementation ofCspReportActionthat 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.voidI18n.setTextProvider(TextProvider textProvider) -
Uses of TextProvider in org.apache.struts2.dispatcher
Classes in org.apache.struts2.dispatcher that implement TextProviderModifier and TypeClassDescriptionclassA 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 TextProviderAbstractFileUploadInterceptor.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 voidOgnlValueStackFactory.setTextProvider(TextProvider textProvider) Constructors in org.apache.struts2.ognl with parameters of type TextProviderModifierConstructorDescriptionprotectedOgnlValueStack(XWorkConverter xworkConverter, RootAccessor accessor, TextProvider prov, SecurityMemberAccess securityMemberAccess) protectedOgnlValueStack(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 TypeInterfaceDescriptioninterfaceExtension Interface for TextProvider to help supporting ResourceBundles.Classes in org.apache.struts2.text that implement TextProviderModifier and TypeClassDescriptionclassThis is a compositeTextProviderthat takes in an array orListofTextProviders, it will consult each of them in order to get a composite result.classDefaultTextProvider gets texts from only the default resource bundles associated with the default bundles.classDefault TextProvider implementation.Fields in org.apache.struts2.text declared as TextProviderModifier and TypeFieldDescriptionprotected TextProviderStrutsTextProviderFactory.defaultTextProviderMethods 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 TextProviderStrutsTextProviderFactory.getTextProvider(Class clazz) protected TextProviderStrutsTextProviderFactory.getTextProvider(ResourceBundle bundle) Methods in org.apache.struts2.text with parameters of type TextProviderModifier and TypeMethodDescriptionvoidStrutsTextProviderFactory.setDefaultTextProvider(TextProvider defaultTextProvider) Constructors in org.apache.struts2.text with parameters of type TextProviderModifierConstructorDescriptionCompositeTextProvider(TextProvider[] textProviders) Instantiates aCompositeTextProviderwith some predefinedtextProviders.Constructor parameters in org.apache.struts2.text with type arguments of type TextProviderModifierConstructorDescriptionCompositeTextProvider(List<TextProvider> textProviders) Instantiates aCompositeTextProviderwith 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 TypeClassDescriptionclassA default implementation of theValidatorContextinterface.Methods in org.apache.struts2.validator that return TextProviderModifier and TypeMethodDescriptionprotected TextProviderDelegatingValidatorContext.getTextProvider()DelegatingValidatorContext.makeTextProvider(Object object, TextProviderFactory textProviderFactory) Methods in org.apache.struts2.validator with parameters of type TextProviderModifier and TypeMethodDescriptionprotected voidDelegatingValidatorContext.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)