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

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

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

XSDModelGroupDefinition.setResolvedModelGroupDefinition介绍

[英]Sets the value of the ' org.eclipse.xsd.XSDModelGroupDefinition#getResolvedModelGroupDefinition' reference.
[中]设置“组织”的值。日食xsd。XSDModelGroupDefinition#getResolvedModelGroupDefinition'引用。

代码示例

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

protected XSDModelGroupDefinition createUnresolvedModelGroupDefinition(String namespace, String localName)
{
 XSDModelGroupDefinition xsdModelGroupDefinition = XSDFactory.eINSTANCE.createXSDModelGroupDefinition();
 if (localName != null)
 {
  xsdModelGroupDefinition.setName(localName);
 }
 if (namespace != null)
 {
  xsdModelGroupDefinition.setTargetNamespace(namespace);
 }
 xsdModelGroupDefinition.setResolvedModelGroupDefinition(xsdModelGroupDefinition);
 XSDModelGroup xsdModelGroup = XSDFactory.eINSTANCE.createXSDModelGroup();
 xsdModelGroup.setCompositor(XSDCompositor.SEQUENCE_LITERAL);
 xsdModelGroupDefinition.setModelGroup(xsdModelGroup);
 return xsdModelGroupDefinition;
}

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

protected XSDModelGroupDefinition createUnresolvedModelGroupDefinition(String namespace, String localName)
{
 XSDModelGroupDefinition xsdModelGroupDefinition = XSDFactory.eINSTANCE.createXSDModelGroupDefinition();
 if (localName != null)
 {
  xsdModelGroupDefinition.setName(localName);
 }
 if (namespace != null)
 {
  xsdModelGroupDefinition.setTargetNamespace(namespace);
 }
 xsdModelGroupDefinition.setResolvedModelGroupDefinition(xsdModelGroupDefinition);
 XSDModelGroup xsdModelGroup = XSDFactory.eINSTANCE.createXSDModelGroup();
 xsdModelGroup.setCompositor(XSDCompositor.SEQUENCE_LITERAL);
 xsdModelGroupDefinition.setModelGroup(xsdModelGroup);
 return xsdModelGroupDefinition;
}

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

if (gr.getModelGroup() != parent)
  def.setResolvedModelGroupDefinition(gr);
def.setResolvedModelGroupDefinition(newGroupDef);

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

ref.setResolvedModelGroupDefinition((XSDModelGroupDefinition) particleContent);
p.setContent(ref);

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

simpleRecursiveModelGroupDefinitionReference./*{@link XSDModelGroupDefinition#setResolvedModelGroupDefinition */setResolvedModelGroupDefinition/*}*/
 (prototypeSchema./*{@link XSDConcreteComponent#resolveModelGroupDefinition(String) */resolveModelGroupDefinition/*}*/("simpleRecursiveModelGroupDefinition"));
/*{@link */XSDParticle/*}*/ modelGroupParticle = xsdFactory.createXSDParticle();

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

simpleRecursiveModelGroupDefinitionReference./*{@link XSDModelGroupDefinition#setResolvedModelGroupDefinition */setResolvedModelGroupDefinition/*}*/
 (prototypeSchema./*{@link XSDConcreteComponent#resolveModelGroupDefinition(String) */resolveModelGroupDefinition/*}*/("simpleRecursiveModelGroupDefinition"));
/*{@link */XSDParticle/*}*/ modelGroupParticle = xsdFactory.createXSDParticle();

相关文章