gpt4 book ai didi

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

转载 作者:知者 更新时间:2024-03-27 03:37:05 26 4
gpt4 key购买 nike

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

XSDModelGroupDefinition.getName介绍

暂无

代码示例

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

public String getText()
{
 XSDModelGroupDefinition xsdModelGroupDefinition = (XSDModelGroupDefinition) target;
 String result = xsdModelGroupDefinition.isModelGroupDefinitionReference() ? xsdModelGroupDefinition.getQName() : xsdModelGroupDefinition.getName();
 return result == null ? Messages._UI_LABEL_ABSENT : result;
}

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

@Override
public String getText(Object object)
{
 XSDModelGroupDefinition xsdModelGroupDefinition = ((XSDModelGroupDefinition)object);
 String result = 
  xsdModelGroupDefinition.isModelGroupDefinitionReference() ?
   xsdModelGroupDefinition.getQName() :
   xsdModelGroupDefinition.getName();
 return result == null ? XSDEditPlugin.INSTANCE.getString("_UI_Absent_label") : result;
}

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

@Override
 public Object caseXSDModelGroupDefinition(XSDModelGroupDefinition xsdModelGroupDefinition)
 {
  XSDModelGroupDefinition redefinedModelGroupDefinition = 
   resolveModelGroupDefinition(xsdModelGroupDefinition.getName());
  for (XSDSchemaImpl schemaToRedefine : getSchemasToRedefine())
  {
   int index = schemaToRedefine.getModelGroupDefinitions().indexOf(redefinedModelGroupDefinition);
   if (index != -1)
   {
    schemaToRedefine.getModelGroupDefinitions().set(index, xsdModelGroupDefinition);
    schemaToRedefine.redefinitionMap.put(xsdModelGroupDefinition, redefinedModelGroupDefinition);
   }
  }
  return this;
 }
};

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

@Override
 public Object caseXSDModelGroupDefinition(XSDModelGroupDefinition xsdModelGroupDefinition)
 {
  XSDModelGroupDefinition redefinedModelGroupDefinition = 
   resolveModelGroupDefinition(xsdModelGroupDefinition.getName());
  for (XSDSchemaImpl schemaToRedefine : getSchemasToRedefine())
  {
   int index = schemaToRedefine.getModelGroupDefinitions().indexOf(redefinedModelGroupDefinition);
   if (index != -1)
   {
    schemaToRedefine.getModelGroupDefinitions().set(index, xsdModelGroupDefinition);
    schemaToRedefine.redefinitionMap.put(xsdModelGroupDefinition, redefinedModelGroupDefinition);
   }
  }
  return this;
 }
};

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

@Override
protected void patch()
{
 analysisState = UNANALYZED;
 super.patch();
 XSDModelGroupDefinition theResolvedModelGroupDefinition = getResolvedModelGroupDefinition();
 if (theResolvedModelGroupDefinition != this && (forceResolve || theResolvedModelGroupDefinition.getContainer() == null))
 {
  XSDModelGroupDefinition newResolvedModelGroupDefinition =
   resolveModelGroupDefinition(theResolvedModelGroupDefinition.getTargetNamespace(), theResolvedModelGroupDefinition.getName());
  if (forceResolve || newResolvedModelGroupDefinition.getContainer() != null)
  {
   handleNewResolvedModelGroupDefinition(newResolvedModelGroupDefinition);
  }
 }
}

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

@Override
protected void patch()
{
 analysisState = UNANALYZED;
 super.patch();
 XSDModelGroupDefinition theResolvedModelGroupDefinition = getResolvedModelGroupDefinition();
 if (theResolvedModelGroupDefinition != this && (forceResolve || theResolvedModelGroupDefinition.getContainer() == null))
 {
  XSDModelGroupDefinition newResolvedModelGroupDefinition =
   resolveModelGroupDefinition(theResolvedModelGroupDefinition.getTargetNamespace(), theResolvedModelGroupDefinition.getName());
  if (forceResolve || newResolvedModelGroupDefinition.getContainer() != null)
  {
   handleNewResolvedModelGroupDefinition(newResolvedModelGroupDefinition);
  }
 }
}

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

theResolvedSchema.resolveModelGroupDefinition(xsdModelGroupDefinition.getName());
if (otherXSDModelGroupDefinition.getContainer() == null)
  (XSDDiagnosticSeverity.ERROR_LITERAL,
   "src-redefine.6.2.1",
   xsdModelGroupDefinition.getName());

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

(XSDDiagnosticSeverity.ERROR_LITERAL,
 "src-redefine.6.2.1",
 xsdModelGroupDefinition.getName());

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

if (name == null)
 name = validName(xsdModelGroupDefinition.getName(), true);

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

if (name == null)
 name = validName(xsdModelGroupDefinition.getName(), true);

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

clonedModelGroupDefinition.setResolvedModelGroupDefinition
 (createUnresolvedModelGroupDefinition
  (theResolvedModelGroupDefinition.getTargetNamespace(), theResolvedModelGroupDefinition.getName()));

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

clonedModelGroupDefinition.setResolvedModelGroupDefinition
 (createUnresolvedModelGroupDefinition
  (theResolvedModelGroupDefinition.getTargetNamespace(), theResolvedModelGroupDefinition.getName()));

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com