Class AbstractDefaultConverterSupport<A extends Annotation,T>
java.lang.Object
name.matthewgreet.strutscommons.policy.AbstractPolicySupport<A>
name.matthewgreet.strutscommons.policy.AbstractConverterSupport<A,T>
name.matthewgreet.strutscommons.policy.AbstractDefaultConverterSupport<A,T>
- All Implemented Interfaces:
Converter<A,,T> DefaultPolicy,Policy<A>
- Direct Known Subclasses:
BigDecimalConverter,BooleanConverter,ByteConverter,CharacterConverter,DateConverter,DoubleConverter,EnumConverter,FloatConverter,IntegerConverter,LongConverter,ShortConverter
public abstract class AbstractDefaultConverterSupport<A extends Annotation,T>
extends AbstractConverterSupport<A,T>
implements DefaultPolicy
Preferred template class for implementations of converters to single value data type that can be default converters.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns form field annotation configuring this instance.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.Converter
convert, format, getMessage, getMessageKey, getMessageType, getProcessNoValue, getRecipientClass, getRecipientFieldNameMethods inherited from interface name.matthewgreet.strutscommons.policy.Policy
setAnnotation
-
Constructor Details
-
AbstractDefaultConverterSupport
public AbstractDefaultConverterSupport()
-
-
Method Details
-
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>
-