protected void buildAttributeGroupIndex() { attributeGroupIndex = new HashMap(); for (int i = 0; i < schemas.length; i++) { XSDSchema schema = schemas[i]; for (Iterator g = schema.getAttributeGroupDefinitions().iterator(); g.hasNext(); ) { XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g.next(); QName qName = new QName(group.getTargetNamespace(), group.getName()); attributeGroupIndex.put(qName, group); } } }
protected void buildAttributeGroupIndex() { attributeGroupIndex = new HashMap(); for (int i = 0; i < schemas.length; i++) { XSDSchema schema = schemas[i]; for (Iterator g = schema.getAttributeGroupDefinitions().iterator(); g.hasNext();) { XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g.next(); QName qName = new QName(group.getTargetNamespace(), group.getName()); attributeGroupIndex.put(qName, group); } } }
protected void buildAttributeGroupIndex() { attributeGroupIndex = new HashMap(); for (int i = 0; i < schemas.length; i++) { XSDSchema schema = schemas[i]; for (Iterator g = schema.getAttributeGroupDefinitions().iterator(); g.hasNext();) { XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g.next(); QName qName = new QName(group.getTargetNamespace(), group.getName()); attributeGroupIndex.put(qName, group); } } }
protected void buildAttributeGroupIndex() { attributeGroupIndex = new HashMap(); for (int i = 0; i < schemas.length; i++) { XSDSchema schema = schemas[i]; for (Iterator g = schema.getAttributeGroupDefinitions().iterator(); g.hasNext();) { XSDAttributeGroupDefinition group = (XSDAttributeGroupDefinition) g .next(); QName qName = new QName(group.getTargetNamespace(), group.getName()); attributeGroupIndex.put(qName, group); } } }
public List getAttributeGroupList(XSDSchema xsdSchema, boolean showFromIncludes) { List attributeGroupList = new ArrayList(); for (Iterator i = xsdSchema.getAttributeGroupDefinitions().iterator(); i.hasNext();) { XSDAttributeGroupDefinition attrGroup = (XSDAttributeGroupDefinition) i.next(); if (isSameNamespace(attrGroup.getTargetNamespace(), xsdSchema.getTargetNamespace()) && (attrGroup.getRootContainer() == xsdSchema || showFromIncludes)) { attributeGroupList.add(attrGroup); } } List adapterList = new ArrayList(); populateAdapterList(attributeGroupList, adapterList); return adapterList; }
@Override protected void patch() { analysisState = UNANALYZED; super.patch(); XSDAttributeGroupDefinition theResolvedAttributeGroupDefinition = getResolvedAttributeGroupDefinition(); if (theResolvedAttributeGroupDefinition != this && (forceResolve || theResolvedAttributeGroupDefinition.getContainer() == null)) { XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition = resolveAttributeGroupDefinition (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName()); if (forceResolve || newResolvedAttributeGroupDefinition.getContainer() != null) { handleNewResolvedAttributeGroupDefinition(newResolvedAttributeGroupDefinition); } } }
@Override protected void patch() { analysisState = UNANALYZED; super.patch(); XSDAttributeGroupDefinition theResolvedAttributeGroupDefinition = getResolvedAttributeGroupDefinition(); if (theResolvedAttributeGroupDefinition != this && (forceResolve || theResolvedAttributeGroupDefinition.getContainer() == null)) { XSDAttributeGroupDefinition newResolvedAttributeGroupDefinition = resolveAttributeGroupDefinition (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName()); if (forceResolve || newResolvedAttributeGroupDefinition.getContainer() != null) { handleNewResolvedAttributeGroupDefinition(newResolvedAttributeGroupDefinition); } } }
clonedAttributeGroupDefinition.setResolvedAttributeGroupDefinition (createUnresolvedAttributeGroupDefinition (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName()));
clonedAttributeGroupDefinition.setResolvedAttributeGroupDefinition (createUnresolvedAttributeGroupDefinition (theResolvedAttributeGroupDefinition.getTargetNamespace(), theResolvedAttributeGroupDefinition.getName()));