this.eStructuralFeature = eStructuralFeature; wildcards = ExtendedMetaData.INSTANCE.getWildcards(eStructuralFeature); EStructuralFeature mixedFeature; if (!wildcards.isEmpty()) wildcards.addAll(ExtendedMetaData.INSTANCE.getWildcards(feature)); break;
this.eStructuralFeature = eStructuralFeature; wildcards = ExtendedMetaData.INSTANCE.getWildcards(eStructuralFeature); EStructuralFeature mixedFeature; if (!wildcards.isEmpty()) wildcards.addAll(ExtendedMetaData.INSTANCE.getWildcards(feature)); break;
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; }
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; }
protected XSDWildcard buildElementWildcard(XSDComplexTypeDefinition xsdComplexTypeDefinition, EStructuralFeature eStructuralFeature) { String name = extendedMetaData.getName(eStructuralFeature); if (":mixed".equals(name)) { xsdComplexTypeDefinition.setMixed(true); return null; } else { XSDWildcard xsdWildcard = XSDFactory.eINSTANCE.createXSDWildcard(); xsdWildcard.setStringLexicalNamespaceConstraint (BasicExtendedMetaData.getEncodedWildcards (extendedMetaData.getNamespace(eStructuralFeature.getEContainingClass()), extendedMetaData.getWildcards(eStructuralFeature))); XSDModelGroup xsdModelGroup = findOrCreateModelGroup(xsdComplexTypeDefinition); XSDParticle particle = XSDFactory.eINSTANCE.createXSDParticle(); particle.setContent(xsdWildcard); xsdModelGroup.getContents().add(particle); map(particle, eStructuralFeature); createEcoreAnnotation(xsdWildcard, "name", eStructuralFeature.getName()); buildAnnotations(xsdWildcard, eStructuralFeature); return xsdWildcard; } }
(BasicExtendedMetaData.getEncodedWildcards (extendedMetaData.getNamespace(eStructuralFeature.getEContainingClass()), extendedMetaData.getWildcards(eStructuralFeature))); XSDModelGroup xsdModelGroup = findOrCreateModelGroup(xsdComplexTypeDefinition); XSDParticle xsdParticle = XSDFactory.eINSTANCE.createXSDParticle();