Class AbstractDefaultCollectionConverterSupport<A extends Annotation,T>
java.lang.Object
name.matthewgreet.strutscommons.policy.AbstractPolicySupport<A>
name.matthewgreet.strutscommons.policy.AbstractCollectionConverterSupport<A,T>
name.matthewgreet.strutscommons.policy.AbstractDefaultCollectionConverterSupport<A,T>
- All Implemented Interfaces:
CollectionConverter<A,,T> DefaultPolicy,Policy<A>
- Direct Known Subclasses:
IntegerCSVConverter,StringCSVConverter
public abstract class AbstractDefaultCollectionConverterSupport<A extends Annotation,T>
extends AbstractCollectionConverterSupport<A,T>
implements DefaultPolicy
Preferred template class for implementations of converters to collection-based data types that can be default
collection converters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns form field annotation configuring this instance.protected Collection<T> makeCollectionForRecipient(Class<?> recipientFieldClass) protected abstract AMethods inherited from class name.matthewgreet.strutscommons.policy.AbstractPolicySupport
setAnnotationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface name.matthewgreet.strutscommons.policy.CollectionConverter
convert, format, getMessage, getMessageKey, getMessageType, getProcessNoValue, getRecipientClass, getRecipientFieldNameMethods inherited from interface name.matthewgreet.strutscommons.policy.Policy
setAnnotation
-
Constructor Details
-
AbstractDefaultCollectionConverterSupport
public AbstractDefaultCollectionConverterSupport()
-
-
Method Details
-
makeCollectionForRecipient
- Overrides:
makeCollectionForRecipientin classAbstractCollectionConverterSupport<A extends Annotation,T>
-
makeDefaultAnnotation
-
getAnnotation
Description copied from class:AbstractPolicySupportReturns form field annotation configuring this instance. Returns null if converter or collection converter is being used as a default converter or collection converter.- Specified by:
getAnnotationin interfacePolicy<A extends Annotation>- Overrides:
getAnnotationin classAbstractPolicySupport<A extends Annotation>
-