@Override
protected String getType() {
String type = javaToHtmlTypes.get(valueType);
if (type != null) {
return type;
}
type = "text";
if (annotations != null) {
if (annotations.containsKey(Email.class)) {
type = "email";
} else if (annotations.containsKey(URL.class)) {
type = "url";
} else if (annotations.containsKey(Max.class) || annotations.containsKey(Min.class)) {
type = "number";
}
}
return type;
}
Html5InputTag.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:spring-mvc-toolkit
作者:
评论列表
文章目录