本文整理了Java中org.eclipse.xsd.XSDSchema.getAnnotations()
方法的一些代码示例,展示了XSDSchema.getAnnotations()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDSchema.getAnnotations()
方法的具体详情如下:
包路径:org.eclipse.xsd.XSDSchema
类名称:XSDSchema
方法名:getAnnotations
[英]Returns the value of the 'Annotations' reference list. The list contents are of type org.eclipse.xsd.XSDAnnotation.
This represents the annotations infoset property. It is computed from the #getContents() and should typically not be set directly.
[中]返回“Annotations”引用列表的值。列表内容的类型为org。日食xsd。XSDAnnotation。
这表示annotationsinfoset属性。它是根据#getContents()计算的,通常不应直接设置。
代码示例来源:origin: org.eclipse/org.eclipse.xsd
xsdAnnotations.addAll(((XSDSchema)xsdComponent).getAnnotations());
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
xsdAnnotations.addAll(((XSDSchema)xsdComponent).getAnnotations());
代码示例来源:origin: org.eclipse.emf/org.eclipse.xsd.edit
(XSDEditPlugin.INSTANCE.getString("_UI_Annotations_label"),
XSDEditPlugin.INSTANCE.getImage("full/obj16/XSDAnnotation"),
xsdSchema.getAnnotations()));
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
public void propogateComponents(XSDSchema otherXSDSchema)
{
otherXSDSchema.getAnnotations().addAll(getAnnotations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getAttributeDeclarations(), getAttributeDeclarations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getAttributeGroupDefinitions(), getAttributeGroupDefinitions());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getElementDeclarations(), getElementDeclarations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getModelGroupDefinitions(), getModelGroupDefinitions());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getTypeDefinitions(), getTypeDefinitions());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getNotationDeclarations(), getNotationDeclarations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getIdentityConstraintDefinitions(), getIdentityConstraintDefinitions());
}
代码示例来源:origin: org.eclipse/org.eclipse.xsd
public void propogateComponents(XSDSchema otherXSDSchema)
{
otherXSDSchema.getAnnotations().addAll(getAnnotations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getAttributeDeclarations(), getAttributeDeclarations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getAttributeGroupDefinitions(), getAttributeGroupDefinitions());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getElementDeclarations(), getElementDeclarations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getModelGroupDefinitions(), getModelGroupDefinitions());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getTypeDefinitions(), getTypeDefinitions());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getNotationDeclarations(), getNotationDeclarations());
XSDNamedComponentImpl.mergeToSortedList
(otherXSDSchema.getIdentityConstraintDefinitions(), getIdentityConstraintDefinitions());
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
List list = xsdComp.getAnnotations();
if (list.size() > 0)
内容来源于网络,如有侵权,请联系作者删除!