public class PropertyEditorRegistrarsSupport extends Object implements org.springframework.beans.PropertyEditorRegistrar, Iterable<org.springframework.beans.PropertyEditorRegistrar>
PropertyEditorRegistrar
。Constructor and Description |
---|
PropertyEditorRegistrarsSupport() |
Modifier and Type | Method and Description |
---|---|
org.springframework.beans.PropertyEditorRegistrar[] |
getPropertyEditorRegistrars()
取得一组
PropertyEditor 注册器。 |
Iterator<org.springframework.beans.PropertyEditorRegistrar> |
iterator()
遍历registrars。
|
void |
registerCustomEditors(org.springframework.beans.PropertyEditorRegistry registry)
在registry中注册自定义的
PropertyEditor 。 |
void |
setPropertyEditorRegistrars(org.springframework.beans.PropertyEditorRegistrar[] propertyEditorRegistrars)
设置一组
PropertyEditor 注册器。 |
int |
size()
查看有几个registrars。
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public org.springframework.beans.PropertyEditorRegistrar[] getPropertyEditorRegistrars()
PropertyEditor
注册器。
PropertyEditor
负责将字符串值转换成bean property的类型,或反之。
public void setPropertyEditorRegistrars(org.springframework.beans.PropertyEditorRegistrar[] propertyEditorRegistrars)
PropertyEditor
注册器。
PropertyEditor
负责将字符串值转换成bean property的类型,或反之。
public void registerCustomEditors(org.springframework.beans.PropertyEditorRegistry registry)
PropertyEditor
。registerCustomEditors
in interface org.springframework.beans.PropertyEditorRegistrar
public int size()
public Iterator<org.springframework.beans.PropertyEditorRegistrar> iterator()
Copyright © 2006–2018 TinyGroup. All rights reserved.