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> void
AnnotationValidationInterceptor.checkConversionMessage
(Field unconvertedField, Annotation annotation, Converter<?, T> converter, AnnotationValidationInterceptor.ConversionFieldResult<T> conversionFieldResult, com.opensymphony.xwork2.interceptor.ValidationAware validationAware, com.opensymphony.xwork2.TextProvider textProvider) 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) 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 TypeClassDescriptionclass
AbstractConverterSupport<A extends Annotation,
T> Preferred template class for implementations of converters to single value data type.class
Template class for client supplied validators that convert a string-based form field to a single, other data type.class
Template class for client supplied converters that just format for a view helper.class
class
class
class
class
class
class
class
class
class
class
-
Uses of Converter in name.matthewgreet.strutscommons.util
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 form field or display field, or null if none available.static Converter
<?, ?> InterceptorCommonLibrary.getDefaultConverter
(Field field) Returns default converter for a single value form field or display field, or null if none available.static <A extends Annotation,
T>
Converter<A, T> InterceptorCommonLibrary.getDefaultRecognisedConverter
(Class<? extends Converter<A, T>> converterClass, Class<? extends A> annotationClass) 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) Method parameters in name.matthewgreet.strutscommons.util with type arguments of type ConverterModifier and TypeMethodDescriptionstatic <A extends Annotation,
T>
Converter<A, T> InterceptorCommonLibrary.getDefaultRecognisedConverter
(Class<? extends Converter<A, T>> converterClass, Class<? extends A> annotationClass)