public void link() {
super.link();
if (!(NonElement.ANYTYPE_NAME.equals(type.getTypeName()) || type.isSimpleType() || id()==ID.IDREF)) {
parent.builder.reportError(new IllegalAnnotationException(
Messages.SIMPLE_TYPE_IS_REQUIRED.format(),
seed
));
}
if(!isCollection() && seed.hasAnnotation(XmlList.class)) {
parent.builder.reportError(new IllegalAnnotationException(
Messages.XMLLIST_ON_SINGLE_PROPERTY.format(), this
));
}
}
SingleTypePropertyInfoImpl.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:openjdk9
作者:
评论列表
文章目录