void setupAttr(Document doc, XmlSchemaObjectCollection collectionObj, XmlSchema schema, Element container) throws XmlSchemaSerializerException { int collectionLength = collectionObj.getCount(); for (int i = 0; i < collectionLength; i++) { XmlSchemaObject obj = collectionObj.getItem(i); if (obj instanceof XmlSchemaAttribute) { XmlSchemaAttribute attr = (XmlSchemaAttribute) obj; Element attrEl = serializeAttribute(doc, attr, schema); container.appendChild(attrEl); } else if (obj instanceof XmlSchemaAttributeGroupRef) { XmlSchemaAttributeGroupRef attr = (XmlSchemaAttributeGroupRef) obj; Element attrEl = serializeAttributeGroupRef(doc, attr, schema); container.appendChild(attrEl); } } }
void setupAttr(Document doc, XmlSchemaObjectCollection collectionObj, XmlSchema schema, Element container) throws XmlSchemaSerializerException { int collectionLength = collectionObj.getCount(); for (int i = 0; i < collectionLength; i++) { XmlSchemaObject obj = collectionObj.getItem(i); if (obj instanceof XmlSchemaAttribute) { XmlSchemaAttribute attr = (XmlSchemaAttribute) obj; Element attrEl = serializeAttribute(doc, attr, schema); container.appendChild(attrEl); } else if (obj instanceof XmlSchemaAttributeGroupRef) { XmlSchemaAttributeGroupRef attr = (XmlSchemaAttributeGroupRef) obj; Element attrEl = serializeAttributeGroupRef(doc, attr, schema); container.appendChild(attrEl); } } }
void setupAttr(Document doc, XmlSchemaObjectCollection collectionObj, XmlSchema schema, Element container) throws XmlSchemaSerializerException { int collectionLength = collectionObj.getCount(); for (int i = 0; i < collectionLength; i++) { XmlSchemaObject obj = collectionObj.getItem(i); if (obj instanceof XmlSchemaAttribute) { XmlSchemaAttribute attr = (XmlSchemaAttribute) obj; Element attrEl = serializeAttribute(doc, attr, schema); container.appendChild(attrEl); } else if (obj instanceof XmlSchemaAttributeGroupRef) { XmlSchemaAttributeGroupRef attr = (XmlSchemaAttributeGroupRef) obj; Element attrEl = serializeAttributeGroupRef(doc, attr, schema); container.appendChild(attrEl); } } }
attributeGroup.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); attributeGroup.appendChild(attrGroup);
attributeGroup.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); attributeGroup.appendChild(attrGroup);
attributeGroup.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); attributeGroup.appendChild(attrGroup);
extension.appendChild(attribute); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroupRef = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); extension.appendChild(attributeGroupRef);
extension.appendChild(attribute); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroupRef = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); extension.appendChild(attributeGroupRef);
extension.appendChild(attribute); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroupRef = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); extension.appendChild(attributeGroupRef);
redefine.appendChild(attributeGroup); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroupRef = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); redefine.appendChild(attributeGroupRef);
redefine.appendChild(attributeGroup); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroupRef = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); redefine.appendChild(attributeGroupRef);
redefine.appendChild(attributeGroup); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroupRef = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); redefine.appendChild(attributeGroupRef);
restriction.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); restriction.appendChild(attrGroup);
restriction.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); restriction.appendChild(attrGroup);
extension.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); extension.appendChild(attrGroup);
extension.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); extension.appendChild(attrGroup);
extension.appendChild(attr); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attrGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); extension.appendChild(attrGroup);
restriction.appendChild(attribute); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); restriction.appendChild(attributeGroup);
restriction.appendChild(attribute); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); restriction.appendChild(attributeGroup);
restriction.appendChild(attribute); } else if (obj instanceof XmlSchemaAttributeGroupRef) { Element attributeGroup = serializeAttributeGroupRef(doc, (XmlSchemaAttributeGroupRef) obj, schema); restriction.appendChild(attributeGroup);