classDiagram
Formatter --|> Printer
Formatter --|> Parser
class Converters {
Set~GenericConverter~
}
class Converter
class ConversionService
class FormattingConversionService
ConversionService <|-- FormattingConversionService
FormattingConversionService o-- Converters
Printer --> Adapter1
Adapter1 --> Converters
Parser --> Adapter2
Adapter2 --> Converters
Converter --> Adapter3
Adapter3 --> Converters
<<interface>> Formatter
<<interface>> Printer
<<interface>> Parser
<<interface>> Converter
<<interface>> ConversionService
classDiagram
PropertyEditorRegistry o-- "多" PropertyEditor
<<interface>> PropertyEditorRegistry
<<interface>> PropertyEditor
classDiagram
TypeConverter <|-- SimpleTypeConverter
TypeConverter <|-- BeanWrapperImpl
TypeConverter <|-- DirectFieldAccessor
TypeConverter <|-- ServletRequestDataBinder
SimpleTypeConverter --> TypeConverterDelegate
BeanWrapperImpl --> TypeConverterDelegate
DirectFieldAccessor --> TypeConverterDelegate
ServletRequestDataBinder --> TypeConverterDelegate
TypeConverterDelegate --> ConversionService
TypeConverterDelegate --> PropertyEditorRegistry
<<interface>> TypeConverter
<<interface>> ConversionService
<<interface>> PropertyEditorRegistry
TypeConverter 的作用:统一门面(外观模式)