本文整理了Java中org.eclipse.xsd.XSDComplexTypeDefinition.setAttributeWildcardContent()
方法的一些代码示例,展示了XSDComplexTypeDefinition.setAttributeWildcardContent()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XSDComplexTypeDefinition.setAttributeWildcardContent()
方法的具体详情如下:
包路径:org.eclipse.xsd.XSDComplexTypeDefinition
类名称:XSDComplexTypeDefinition
方法名:setAttributeWildcardContent
[英]Sets the value of the ' org.eclipse.xsd.XSDComplexTypeDefinition#getAttributeWildcardContent' containment reference.
[中]设置“组织”的值。日食xsd。XSDComplexTypeDefinition#getAttributeWildcardContent的包含引用。
代码示例来源:origin: org.eclipse/org.eclipse.xsd
protected XSDWildcard buildAttributeWildcard(XSDComplexTypeDefinition xsdComplexTypeDefinition, EStructuralFeature eStructuralFeature)
{
XSDWildcard xsdWildcard = XSDFactory.eINSTANCE.createXSDWildcard();
xsdWildcard.setStringLexicalNamespaceConstraint
(BasicExtendedMetaData.getEncodedWildcards
(extendedMetaData.getNamespace(eStructuralFeature.getEContainingClass()),
extendedMetaData.getWildcards(eStructuralFeature)));
xsdComplexTypeDefinition.setAttributeWildcardContent(xsdWildcard);
map(xsdWildcard, eStructuralFeature);
createEcoreAnnotation(xsdWildcard, "name", eStructuralFeature.getName());
buildAnnotations(xsdWildcard, eStructuralFeature);
return xsdWildcard;
}
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
protected XSDWildcard buildAttributeWildcard(XSDComplexTypeDefinition xsdComplexTypeDefinition, EStructuralFeature eStructuralFeature)
{
XSDWildcard xsdWildcard = XSDFactory.eINSTANCE.createXSDWildcard();
xsdWildcard.setStringLexicalNamespaceConstraint
(BasicExtendedMetaData.getEncodedWildcards
(extendedMetaData.getNamespace(eStructuralFeature.getEContainingClass()),
extendedMetaData.getWildcards(eStructuralFeature)));
xsdComplexTypeDefinition.setAttributeWildcardContent(xsdWildcard);
map(xsdWildcard, eStructuralFeature);
createEcoreAnnotation(xsdWildcard, "name", eStructuralFeature.getName());
buildAnnotations(xsdWildcard, eStructuralFeature);
return xsdWildcard;
}
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
public void execute()
{
try
{
beginRecording(input.getElement());
XSDWildcard anyAttribute = XSDFactory.eINSTANCE.createXSDWildcard();
if (xsdComplexTypeDefinition != null)
{
xsdComplexTypeDefinition.setAttributeWildcardContent(anyAttribute);
formatChild(xsdComplexTypeDefinition.getElement());
}
else if (xsdAttributeGroupDefinition != null)
{
xsdAttributeGroupDefinition.setAttributeWildcardContent(anyAttribute);
formatChild(xsdAttributeGroupDefinition.getElement());
}
addedXSDConcreteComponent = anyAttribute;
}
finally
{
endRecording();
}
}
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
simpleRecursiveComplexTypeDefinition./*{@link XSDComplexTypeDefinition#getAttributeWildcardContent */setAttributeWildcardContent/*}*/(attributeWildcard);
代码示例来源:origin: org.eclipse/org.eclipse.xsd
simpleRecursiveComplexTypeDefinition./*{@link XSDComplexTypeDefinition#getAttributeWildcardContent */setAttributeWildcardContent/*}*/(attributeWildcard);
代码示例来源:origin: org.eclipse.xsd/org.eclipse.xsd
particle3.setContent(createAnyModelGroup("skip"));
anonymous.setContent(particle3);
anonymous.setAttributeWildcardContent(createAny("skip"));
target.setAnonymousTypeDefinition(anonymous);
particle2.setContent(target);
particle.setContent(createAnyModelGroup("skip"));
xmiAny.setContent(particle);
xmiAny.setAttributeWildcardContent(createAny("skip"));
xmiSchema.getContents().add(xmiAny);
代码示例来源:origin: org.eclipse/org.eclipse.xsd
particle3.setContent(createAnyModelGroup("skip"));
anonymous.setContent(particle3);
anonymous.setAttributeWildcardContent(createAny("skip"));
target.setAnonymousTypeDefinition(anonymous);
particle2.setContent(target);
particle.setContent(createAnyModelGroup("skip"));
xmiAny.setContent(particle);
xmiAny.setAttributeWildcardContent(createAny("skip"));
xmiSchema.getContents().add(xmiAny);
代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui
((XSDComplexTypeDefinition) parent).setAttributeWildcardContent(null);
内容来源于网络,如有侵权,请联系作者删除!