private ID calcId() {
if (seed.hasAnnotation(XmlID.class)) {
// check the type
if (!getIndividualType().equals(nav().ref(String.class)))
parent.builder.reportError(new IllegalAnnotationException(Messages.ID_MUST_BE_STRING.format(getName()), seed));
return ID.ID;
} else if (seed.hasAnnotation(XmlIDREF.class)) {
return ID.IDREF;
} else {
return ID.NONE;
}
}
PropertyInfoImpl.java 文件源码
java
阅读 26
收藏 0
点赞 0
评论 0
项目:cxf-plus
作者:
评论列表
文章目录