org.eclipse.xsd.XSDTypeDefinition.getAnnotations()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(1.1k)|赞(0)|评价(0)|浏览(105)

本文整理了Java中org.eclipse.xsd.XSDTypeDefinition.getAnnotations()方法的一些代码示例,展示了XSDTypeDefinition.getAnnotations()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDTypeDefinition.getAnnotations()方法的具体详情如下:
包路径:org.eclipse.xsd.XSDTypeDefinition
类名称:XSDTypeDefinition
方法名:getAnnotations

XSDTypeDefinition.getAnnotations介绍

[英]Returns the value of the 'Annotations' reference list. The list contents are of type org.eclipse.xsd.XSDAnnotation.

This represents the complex type definition annotation or simple type definition annotation infoset property. It is computed from the #getAnnotation(), org.eclipse.xsd.XSDComplexTypeDefinition#getContentAnnotation, #getAnnotation()and should typically not be modified directly.
[中]返回“Annotations”引用列表的值。列表内容的类型为org。日食xsd。XSDAnnotation。
这表示复杂类型定义annotation或简单类型定义annotation信息集属性。它是根据#getAnnotation()org计算得出的。日食xsd。XSDComplexTypeDefinition#getContentAnnotation,#getAnnotation(),通常不应直接修改。

代码示例

代码示例来源:origin: org.eclipse/org.eclipse.xsd

xsdAnnotations.addAll(((XSDTypeDefinition)xsdComponent).getAnnotations());

代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd

xsdAnnotations.addAll(((XSDTypeDefinition)xsdComponent).getAnnotations());

相关文章