接口的使用
org.springframework.beans.TypeConverter
使用TypeConverter的程序包 程序包 说明 org.springframework.beans This package contains interfaces and classes for manipulating Java beans.org.springframework.beans.factory.annotation Support package for annotation-driven bean configuration.org.springframework.beans.factory.config SPI interfaces and configuration-related convenience classes for bean factories.org.springframework.beans.factory.support Classes supporting theorg.springframework.beans.factory
package.org.springframework.beans.support Classes supporting the org.springframework.beans package, such as utility classes for sorting and holding lists of beans.org.springframework.validation Provides data binding and validation functionality, for usage in business and/or UI layers.org.springframework.web.bind Provides web-specific data binding functionality.org.springframework.web.bind.support Support classes for web data binding.org.springframework.web.servlet.mvc.method.annotation MVC infrastructure for annotation-based handler method processing, building on theorg.springframework.web.method.annotation
package.org.springframework.beans中TypeConverter的使用
org.springframework.beans中TypeConverter的子接口 修饰符和类型 接口 说明 interface
BeanWrapper
The central interface of Spring's low-level JavaBeans infrastructure.interface
ConfigurablePropertyAccessor
Interface that encapsulates configuration methods for a PropertyAccessor.实现TypeConverter的org.springframework.beans中的类 修饰符和类型 类 说明 class
AbstractNestablePropertyAccessor
A basicConfigurablePropertyAccessor
that provides the necessary infrastructure for all typical use cases.class
AbstractPropertyAccessor
Abstract implementation of thePropertyAccessor
interface.class
BeanWrapperImpl
DefaultBeanWrapper
implementation that should be sufficient for all typical use cases.class
DirectFieldAccessor
ConfigurablePropertyAccessor
implementation that directly accesses instance fields.class
SimpleTypeConverter
Simple implementation of theTypeConverter
interface that does not operate on a specific target object.class
TypeConverterSupport
Base implementation of theTypeConverter
interface, using a package-private delegate.org.springframework.beans.factory.annotation中TypeConverter的使用
参数类型为TypeConverter的org.springframework.beans.factory.annotation中的方法 修饰符和类型 方法 说明 protected boolean
QualifierAnnotationAutowireCandidateResolver. checkQualifier(BeanDefinitionHolder bdHolder, Annotation annotation, TypeConverter typeConverter)
Match the given qualifier annotation against the candidate bean definition.org.springframework.beans.factory.config中TypeConverter的使用
返回TypeConverter的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 protected TypeConverter
AbstractFactoryBean. getBeanTypeConverter()
Obtain a bean type converter from the BeanFactory that this bean runs in.protected TypeConverter
MethodInvokingBean. getDefaultTypeConverter()
Obtain the TypeConverter from the BeanFactory that this bean runs in, if possible.TypeConverter
ConfigurableBeanFactory. getTypeConverter()
Obtain a type converter as used by this BeanFactory.参数类型为TypeConverter的org.springframework.beans.factory.config中的方法 修饰符和类型 方法 说明 Object
AutowireCapableBeanFactory. resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter)
Resolve the specified dependency against the beans defined in this factory.void
ConfigurableBeanFactory. setTypeConverter(TypeConverter typeConverter)
Set a custom type converter that this BeanFactory should use for converting bean property values, constructor argument values, etc.org.springframework.beans.factory.support中TypeConverter的使用
返回TypeConverter的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 protected TypeConverter
AbstractBeanFactory. getCustomTypeConverter()
Return the custom TypeConverter to use, if any.TypeConverter
AbstractBeanFactory. getTypeConverter()
参数类型为TypeConverter的org.springframework.beans.factory.support中的方法 修饰符和类型 方法 说明 Object
DefaultListableBeanFactory. doResolveDependency(DependencyDescriptor descriptor, String beanName, Set<String> autowiredBeanNames, TypeConverter typeConverter)
Object
DefaultListableBeanFactory. resolveDependency(DependencyDescriptor descriptor, String requestingBeanName, Set<String> autowiredBeanNames, TypeConverter typeConverter)
void
AbstractBeanFactory. setTypeConverter(TypeConverter typeConverter)
org.springframework.beans.support中TypeConverter的使用
返回TypeConverter的org.springframework.beans.support中的方法 修饰符和类型 方法 说明 protected TypeConverter
ArgumentConvertingMethodInvoker. getDefaultTypeConverter()
Obtain the default TypeConverter for this method invoker.TypeConverter
ArgumentConvertingMethodInvoker. getTypeConverter()
Return the TypeConverter used for argument type conversion.参数类型为TypeConverter的org.springframework.beans.support中的方法 修饰符和类型 方法 说明 void
ArgumentConvertingMethodInvoker. setTypeConverter(TypeConverter typeConverter)
Set a TypeConverter to use for argument type conversion.org.springframework.validation中TypeConverter的使用
实现TypeConverter的org.springframework.validation中的类 修饰符和类型 类 说明 class
DataBinder
Binder that allows for setting property values onto a target object, including support for validation and binding result analysis.返回TypeConverter的org.springframework.validation中的方法 修饰符和类型 方法 说明 protected TypeConverter
DataBinder. getTypeConverter()
Return the underlying TypeConverter of this binder's BindingResult.org.springframework.web.bind中TypeConverter的使用
实现TypeConverter的org.springframework.web.bind中的类 修饰符和类型 类 说明 class
ServletRequestDataBinder
SpecialDataBinder
to perform data binding from servlet request parameters to JavaBeans, including support for multipart files.class
WebDataBinder
SpecialDataBinder
for data binding from web request parameters to JavaBean objects.org.springframework.web.bind.support中TypeConverter的使用
实现TypeConverter的org.springframework.web.bind.support中的类 修饰符和类型 类 说明 class
WebExchangeDataBinder
SpecializedDataBinder
to perform data binding from URL query params or form data in the request data to Java objects.class
WebRequestDataBinder
SpecialDataBinder
to perform data binding from web request parameters to JavaBeans, including support for multipart files.org.springframework.web.servlet.mvc.method.annotation中TypeConverter的使用
实现TypeConverter的org.springframework.web.servlet.mvc.method.annotation中的类 修饰符和类型 类 说明 class
ExtendedServletRequestDataBinder
Subclass ofServletRequestDataBinder
that adds URI template variables to the values used for data binding.