public class PeriodFormatAnnotationFactory extends Object implements org.springframework.format.AnnotationFormatterFactory<PeriodFormat>
| Constructor and Description |
|---|
PeriodFormatAnnotationFactory() |
| Modifier and Type | Method and Description |
|---|---|
Set<Class<?>> |
getFieldTypes() |
protected org.springframework.format.Formatter<?> |
getFormatter(PeriodFormat annotation,
Class<?> fieldType) |
org.springframework.format.Parser<?> |
getParser(PeriodFormat annotation,
Class<?> fieldType) |
org.springframework.format.Printer<?> |
getPrinter(PeriodFormat annotation,
Class<?> fieldType) |
public Set<Class<?>> getFieldTypes()
getFieldTypes in interface org.springframework.format.AnnotationFormatterFactory<PeriodFormat>public org.springframework.format.Printer<?> getPrinter(PeriodFormat annotation, Class<?> fieldType)
getPrinter in interface org.springframework.format.AnnotationFormatterFactory<PeriodFormat>public org.springframework.format.Parser<?> getParser(PeriodFormat annotation, Class<?> fieldType)
getParser in interface org.springframework.format.AnnotationFormatterFactory<PeriodFormat>protected org.springframework.format.Formatter<?> getFormatter(PeriodFormat annotation, Class<?> fieldType)
annotation - fieldType - Copyright © 2014 JDAL. All Rights Reserved.