Uses of Interface
name.matthewgreet.strutscommons.policy.Converter
Packages that use Converter
Package
Description
Various Struts 2 Interceptors.
Standard adjusters, converters and validators used in alternate annotation-based annotation.
Various helper classes, especially for session-based data, and libraries.
-
Uses of Converter in name.matthewgreet.strutscommons.interceptor
Methods in name.matthewgreet.strutscommons.interceptor with parameters of type ConverterModifier and TypeMethodDescriptionprotected <T> voidAnnotationValidationInterceptor.checkConversionMessage(Field unconvertedField, Annotation annotation, Converter<?, T> converter, AnnotationValidationInterceptor.ConversionFieldResult<T> conversionFieldResult, ValidationAware validationAware, TextProvider textProvider) Deprecated.Checks if conversion results means a message must be written and writes appropriate type if needed.protected <T> ConversionResult<T> AnnotationValidationInterceptor.validateConversion(Field unconvertedField, Annotation annotation, Converter<?, T> converter, String fieldValue, Field recipientField, Class<T> recipientClass) Deprecated.Calls validator to convert string form field value to recipient field of expected data type. -
Uses of Converter in name.matthewgreet.strutscommons.policy
Classes in name.matthewgreet.strutscommons.policy that implement ConverterModifier and TypeClassDescriptionclassAbstractConverterSupport<A extends Annotation,T> Preferred template class for implementations of converters to single value data type.classTemplate class for client supplied validators that convert a string-based form field to a single, other data type.classTemplate class for client supplied converters that just format for a view helper.classAbstractDefaultConverterSupport<A extends Annotation,T> Preferred template class for implementations of converters to single value data type that can be default converters.classclassclassclassclassclassclassclassclassclassclass -
Uses of Converter in name.matthewgreet.strutscommons.util
Classes in name.matthewgreet.strutscommons.util with type parameters of type ConverterModifier and TypeClassDescriptionstatic classInterceptorCommonLibrary.DefaultConverterEntry<T,C extends Converter<?, T>> Describes table entry that finds a default converter for a single value field.Methods in name.matthewgreet.strutscommons.util with type parameters of type ConverterModifier and TypeMethodDescription<C extends Converter<?,T>, T>
InterceptorCommonLibrary.DefaultConverterEntry<T, C> DefaultPolicyLookup.getDefaultConverterEntry(Class<? extends T> fieldClass) Returns default converter configuration for the form field type, or null if none set.<C extends Converter<?,T>, T>
InterceptorCommonLibrary.DefaultConverterEntry<T, C> PolicyLookup.getDefaultConverterEntry(Class<? extends T> fieldClass) Returns default converter and related metadata for a recipient type form field, or null if not found.<C extends Converter<?,T>, T>
InterceptorCommonLibrary.DefaultConverterEntry<T, ?> DefaultPolicyLookup.putDefaultConverter(Class<C> converterClass) Sets form field converter as the default converter for its recipient type, replacing any existing converter.<C extends Converter<?,T>, T>
InterceptorCommonLibrary.DefaultConverterEntry<T, ?> PolicyLookup.putDefaultConverter(Class<C> converterClass) Adds default converter so it can be found from its recipient type, returning description of any existing converter that was replaced.<C extends Converter<?,T>, T>
InterceptorCommonLibrary.DefaultConverterEntry<T, C> DefaultPolicyLookup.removeDefaultConverter(Class<? extends T> fieldClass) Removes default converter for a form field type and returns it, or null if not found.<C extends Converter<?,T>, T>
InterceptorCommonLibrary.DefaultConverterEntry<T, C> PolicyLookup.removeDefaultConverter(Class<? extends T> fieldClass) Removes default converter class from lookup, returning description of any existing converter that was removed.Methods in name.matthewgreet.strutscommons.util that return ConverterModifier and TypeMethodDescriptionInterceptorCommonLibrary.ConfiguredPolicy.getConverter()protected <T> Converter<?, T> DefaultDisplayFormatter.getDefaultConverter(DefaultDisplayFormatter.DisplayFieldUsage<T> displayFieldUsage) Returns default converter for a single value display field, or null if none available.static Converter<?, ?> InterceptorCommonLibrary.getDefaultConverter(Field field, PolicyLookup policyLookup) Returns default converter for a single value form field or display field, or null if none available.protected <T> Converter<?, T> DefaultDisplayFormatter.getDefaultConverterFromArray(DefaultDisplayFormatter.DisplayFieldUsage<T> displayFieldUsage) Returns default converter for each item of an array display field, or null if none available.static Converter<?, ?> InterceptorCommonLibrary.getDefaultConverterFromArray(Field field, PolicyLookup policyLookup) Returns default converter for each item of an array display field, or null if none available.protected <T> Converter<?, T> DefaultDisplayFormatter.getDefaultConverterFromCollection(DefaultDisplayFormatter.DisplayFieldUsage<T> displayFieldUsage) Returns default converter for each item of a collection display field, or null if none available.static Converter<?, ?> InterceptorCommonLibrary.getDefaultConverterFromCollection(Field field, PolicyLookup policyLookup) Returns default converter for each item of a collection display field, or null if none available.Methods in name.matthewgreet.strutscommons.util with parameters of type ConverterModifier and TypeMethodDescriptionstatic <T> InterceptorCommonLibrary.ConfiguredPolicy<T> InterceptorCommonLibrary.ConfiguredPolicy.makeConverterResult(Converter<?, T> converter, boolean defaultAnnotation)