- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.eclipse.xsd.XSDModelGroupDefinition.getResolvedModelGroupDefinition()
方法的一些代码示例,展示了XSDModelGroupDefinition.getResolvedModelGroupDefinition()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDModelGroupDefinition.getResolvedModelGroupDefinition()
方法的具体详情如下:
包路径:org.eclipse.xsd.XSDModelGroupDefinition
类名称:XSDModelGroupDefinition
方法名:getResolvedModelGroupDefinition
[英]Returns the value of the 'Resolved Model Group Definition' reference.
This concrete reference represents the model group definition resolved by the ref attribute. Note that as of the writing of this documentation, the ref attribute doesn't actually appear in the XML Representation Summary, but it is mentioned in the particle interpretation.
[中]返回“已解析模型组定义”引用的值。
这个具体的引用表示由ref属性解析的模型组定义。请注意,在编写本文档时,ref属性实际上并未出现在XML表示摘要中,但在粒子解释中提到了它。
代码示例来源:origin: geotools/geotools
grpDef = grpDef.getResolvedModelGroupDefinition();
代码示例来源:origin: geotools/geotools
grpDef = grpDef.getResolvedModelGroupDefinition();
代码示例来源:origin: org.eclipse/org.eclipse.xsd
@Override
public Object caseXSDModelGroupDefinition(XSDModelGroupDefinition xsdModelGroupDefinition)
{
return xsdModelGroupDefinition.getResolvedModelGroupDefinition().getModelGroup();
}
@Override
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
@Override
public Object caseXSDModelGroupDefinition(XSDModelGroupDefinition xsdModelGroupDefinition)
{
return xsdModelGroupDefinition.getResolvedModelGroupDefinition().getModelGroup();
}
@Override
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public Object caseXSDModelGroupDefinition(XSDModelGroupDefinition modelGroupDefinition)
{
XSDConcreteComponent target = null;
if (modelGroupDefinition.isModelGroupDefinitionReference())
{
target = modelGroupDefinition.getResolvedModelGroupDefinition();
}
return target;
}
代码示例来源:origin: org.eclipse.emf/org.eclipse.xsd.edit
/**
* This returns XSDModelGroupDefinition.gif.
*/
@Override
public Object getImage(Object object)
{
XSDModelGroupDefinition xsdModelGroupDefinition = ((XSDModelGroupDefinition)object);
XSDModelGroupDefinition resolvedModelGroupDefinition = xsdModelGroupDefinition.getResolvedModelGroupDefinition();
return
XSDEditPlugin.INSTANCE.getImage
(resolvedModelGroupDefinition.getContainer() == null ?
"full/obj16/XSDModelGroupDefinition" :
xsdModelGroupDefinition.getResolvedModelGroupDefinition() == xsdModelGroupDefinition ?
"full/obj16/XSDModelGroupDefinition" :
"full/obj16/XSDModelGroupUse");
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public ITreeElement[] getChildren()
{
List list = new ArrayList();
XSDModelGroup xsdModelGroup = ((XSDModelGroupDefinition) target).getResolvedModelGroupDefinition().getModelGroup();
if (xsdModelGroup != null)
list.add(xsdModelGroup);
List adapterList = new ArrayList();
populateAdapterList(list, adapterList);
return (ITreeElement[]) adapterList.toArray(new ITreeElement[0]);
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public void visitModelGroupDefinition(XSDModelGroupDefinition modelGroupDef)
{
if (modelGroupDef.isModelGroupDefinitionReference())
{
// if it's a reference we need to listen to the reference incase it changes
thingsWeNeedToListenTo.add(modelGroupDef);
}
// listen to definition incase it changes
XSDModelGroupDefinition resolvedModelGroupDef = modelGroupDef.getResolvedModelGroupDefinition();
thingsWeNeedToListenTo.add(resolvedModelGroupDef);
super.visitModelGroupDefinition(modelGroupDef);
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public void visitXSDModelGroupDefinition(XSDModelGroupDefinition xsdModelGroupDefinition)
{
indent += 2;
visitXSDObject(xsdModelGroupDefinition.getResolvedModelGroupDefinition().getModelGroup());
indent -= 2;
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
protected List getModelChildren()
{
List list = new ArrayList();
XSDModelGroupDefinitionAdapter adapter = (XSDModelGroupDefinitionAdapter)getModel();
XSDModelGroup xsdModelGroup = ((XSDModelGroupDefinition) adapter.getTarget()).getResolvedModelGroupDefinition().getModelGroup();
if (xsdModelGroup != null)
list.add(XSDAdapterFactory.getInstance().adapt(xsdModelGroup));
return list;
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
group = ((XSDModelGroupDefinition) particleContent).getResolvedModelGroupDefinition().getModelGroup();
代码示例来源:origin: org.geotools/gt2-xml-core
grpDef = grpDef.getResolvedModelGroupDefinition();
代码示例来源:origin: org.geotools/gt2-xml-xsd
grpDef = grpDef.getResolvedModelGroupDefinition();
代码示例来源:origin: org.geotools.xsd/gt-core
grpDef = grpDef.getResolvedModelGroupDefinition();
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
protected void patchHelper()
{
XSDParticleContent theContent = getContent();
XSDTerm newTerm = null;
if (theContent instanceof XSDModelGroupDefinition)
{
XSDModelGroupDefinition xsdModelGroupDefinition = (XSDModelGroupDefinition)theContent;
newTerm = xsdModelGroupDefinition.getResolvedModelGroupDefinition().getModelGroup();
}
else if (theContent instanceof XSDElementDeclaration)
{
XSDElementDeclaration xsdElementDeclaration = (XSDElementDeclaration)theContent;
newTerm = xsdElementDeclaration.getResolvedElementDeclaration();
}
else
{
newTerm = (XSDTerm)theContent;
}
if (getTerm() != newTerm)
{
setTerm(newTerm);
}
}
代码示例来源:origin: org.eclipse/org.eclipse.xsd
protected void patchHelper()
{
XSDParticleContent theContent = getContent();
XSDTerm newTerm = null;
if (theContent instanceof XSDModelGroupDefinition)
{
XSDModelGroupDefinition xsdModelGroupDefinition = (XSDModelGroupDefinition)theContent;
newTerm = xsdModelGroupDefinition.getResolvedModelGroupDefinition().getModelGroup();
}
else if (theContent instanceof XSDElementDeclaration)
{
XSDElementDeclaration xsdElementDeclaration = (XSDElementDeclaration)theContent;
newTerm = xsdElementDeclaration.getResolvedElementDeclaration();
}
else
{
newTerm = (XSDTerm)theContent;
}
if (getTerm() != newTerm)
{
setTerm(newTerm);
}
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public void visitModelGroupDefinition(XSDModelGroupDefinition modelGroupDef)
{
if (!modelGroupDef.isModelGroupDefinitionReference())
{
if (modelGroupDef.getModelGroup() != null)
{
visitModelGroup(modelGroupDef.getModelGroup());
}
}
else
{
XSDModelGroup modelGroup = modelGroupDef.getResolvedModelGroupDefinition().getModelGroup();
if (modelGroup != null)
{
visitModelGroup(modelGroup);
}
}
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public static XSDModelGroup getModelGroup(XSDComplexTypeDefinition cType)
{
XSDParticle particle = cType.getComplexType();
if (particle == null || particle.eContainer() != cType)
return null;
Object particleContent = particle.getContent();
XSDModelGroup group = null;
if (particleContent instanceof XSDModelGroupDefinition)
group = ((XSDModelGroupDefinition) particleContent).getResolvedModelGroupDefinition().getModelGroup();
else if (particleContent instanceof XSDModelGroup)
group = (XSDModelGroup) particleContent;
if (group == null)
return null;
if (group.getContents().isEmpty() || group.eResource() != cType.eResource())
{
XSDComplexTypeContent content = cType.getContent();
if (content instanceof XSDParticle)
group = (XSDModelGroup) ((XSDParticle) content).getContent();
}
return group;
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
if (elementDecl.isModelGroupDefinitionReference())
objectToReveal = elementDecl.getResolvedModelGroupDefinition();
代码示例来源:origin: org.eclipse/org.eclipse.xsd
(otherXSDModelGroupDefinition.getResolvedModelGroupDefinition()))
本文整理了Java中org.eclipse.xsd.XSDModelGroupDefinition.getResolvedModelGroupDefinition()方法的一些代码示例,展示了XSDM
我是一名优秀的程序员,十分优秀!