Uses of Interface
name.matthewgreet.strutscommons.policy.CollectionConverter
Packages that use CollectionConverter
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 CollectionConverter in name.matthewgreet.strutscommons.interceptor
Methods in name.matthewgreet.strutscommons.interceptor with parameters of type CollectionConverterModifier and TypeMethodDescriptionprotected <T> voidAnnotationValidationInterceptor.checkCollectionConversionMessage(Field unconvertedField, Annotation annotation, CollectionConverter<?, T> collectionConverter, AnnotationValidationInterceptor.ConversionFieldResult<T> conversionFieldResult, ValidationAware validationAware, TextProvider textProvider, org.apache.logging.log4j.Logger validationLogger) Deprecated.Checks if conversion results means a message must be written and writes appropriate type if needed.protected <T> ConversionResult<T> AnnotationValidationInterceptor.validateCollectionConversion(Field unconvertedField, Annotation annotation, CollectionConverter<?, T> collectionConverter, String formValue, Field recipientField, Class<T> recipientClass) Deprecated.Calls validator to convert string form field value to recipient field of expected data type. -
Uses of CollectionConverter in name.matthewgreet.strutscommons.policy
Classes in name.matthewgreet.strutscommons.policy that implement CollectionConverterModifier and TypeClassDescriptionclassAbstractCollectionConverterSupport<A extends Annotation,T> Preferred template class for implementations of converters to collection-based data types.classTemplate class for client supplied converters to collection-based data types.classTemplate class for client supplied converters to collection-based data types that just format for a view helper.classAbstractDefaultCollectionConverterSupport<A extends Annotation,T> Preferred template class for implementations of converters to collection-based data types that can be default collection converters.classclass -
Uses of CollectionConverter in name.matthewgreet.strutscommons.util
Classes in name.matthewgreet.strutscommons.util with type parameters of type CollectionConverterModifier and TypeClassDescriptionstatic classInterceptorCommonLibrary.DefaultCollectionConverterEntry<T,C extends CollectionConverter<?, 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 CollectionConverterModifier and TypeMethodDescription<C extends CollectionConverter<?,T>, T>
InterceptorCommonLibrary.DefaultCollectionConverterEntry<T, C> DefaultPolicyLookup.getDefaultCollectionConverterEntry(Class<? extends T> itemClass) Returns default collection converter configuration for the collection item's type, or null if none set.<C extends CollectionConverter<?,T>, T>
InterceptorCommonLibrary.DefaultCollectionConverterEntry<T, C> PolicyLookup.getDefaultCollectionConverterEntry(Class<? extends T> itemClass) Returns default collection converter and related metadata for an item class of a collection form field, or null if not found.<C extends CollectionConverter<?,T>, T>
InterceptorCommonLibrary.DefaultCollectionConverterEntry<T, ?> DefaultPolicyLookup.putDefaultCollectionConverter(Class<C> collectionConverterClass) Sets form field collection converter as the default collection converter for its recipient item type, replacing any existing one.<C extends CollectionConverter<?,T>, T>
InterceptorCommonLibrary.DefaultCollectionConverterEntry<T, ?> PolicyLookup.putDefaultCollectionConverter(Class<C> collectionConverterClass) Adds default collection converter so it can be found from its recipient type, returning description of any existing collection converter that was replaced.<C extends CollectionConverter<?,T>, T>
InterceptorCommonLibrary.DefaultCollectionConverterEntry<T, C> DefaultPolicyLookup.removeDefaultCollectionConverter(Class<? extends T> itemClass) Removes default collection converter for an item type for collection form fields and returns it, or null if not found.<C extends CollectionConverter<?,T>, T>
InterceptorCommonLibrary.DefaultCollectionConverterEntry<T, C> PolicyLookup.removeDefaultCollectionConverter(Class<? extends T> itemClass) Removes default collection converter class from lookup, returning description of any existing converter that was removed.Methods in name.matthewgreet.strutscommons.util that return CollectionConverterModifier and TypeMethodDescriptionInterceptorCommonLibrary.ConfiguredPolicy.getCollectionConverter()protected <T> CollectionConverter<?, T> DefaultDisplayFormatter.getDefaultCollectionConverter(DefaultDisplayFormatter.DisplayFieldUsage<T> displayFieldUsage) Returns default collection converter for a collection display field, or null if none available.static CollectionConverter<?, ?> InterceptorCommonLibrary.getDefaultCollectionConverter(Field field, PolicyLookup policyLookup) Returns default collection converter for a collection form field or display field, or null if none available.Methods in name.matthewgreet.strutscommons.util with parameters of type CollectionConverterModifier and TypeMethodDescriptionstatic <T> InterceptorCommonLibrary.ConfiguredPolicy<T> InterceptorCommonLibrary.ConfiguredPolicy.makeCollectionConverterResult(CollectionConverter<?, T> collectionConverter, boolean defaultAnnotation)