public class

JodaDateTimeFormatAnnotationFormatterFactory

extends Object
implements EmbeddedValueResolverAware AnnotationFormatterFactory<A extends Annotation>
java.lang.Object
   ↳ org.springframework.format.datetime.joda.JodaDateTimeFormatAnnotationFormatterFactory

Class Overview

Formats fields annotated with the DateTimeFormat annotation.

See Also

Summary

Public Constructors
JodaDateTimeFormatAnnotationFormatterFactory()
Public Methods
final Set<Class<?>> getFieldTypes()
The types of fields that may be annotated with the <A> annotation.
Parser<DateTime> getParser(DateTimeFormat annotation, Class<?> fieldType)
Printer<?> getPrinter(DateTimeFormat annotation, Class<?> fieldType)
void setEmbeddedValueResolver(StringValueResolver resolver)
Set the StringValueResolver to use for resolving embedded definition values.
Protected Methods
String resolveEmbeddedValue(String value)
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.springframework.context.EmbeddedValueResolverAware
From interface org.springframework.format.AnnotationFormatterFactory

Public Constructors

public JodaDateTimeFormatAnnotationFormatterFactory ()

Public Methods

public final Set<Class<?>> getFieldTypes ()

The types of fields that may be annotated with the <A> annotation.

public Parser<DateTime> getParser (DateTimeFormat annotation, Class<?> fieldType)

public Printer<?> getPrinter (DateTimeFormat annotation, Class<?> fieldType)

public void setEmbeddedValueResolver (StringValueResolver resolver)

Set the StringValueResolver to use for resolving embedded definition values.

Protected Methods

protected String resolveEmbeddedValue (String value)