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); } } }
serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaAttribute) { Element e = serializeAttribute(serializedSchemaDocs, (XmlSchemaAttribute) obj, schemaObj); serializedSchema.appendChild(e);
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); } } }
serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaAttribute) { Element e = serializeAttribute(serializedSchemaDocs, (XmlSchemaAttribute) obj, schemaObj); serializedSchema.appendChild(e);
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); } } }
serializedSchema.appendChild(e); } else if (obj instanceof XmlSchemaAttribute) { Element e = serializeAttribute(serializedSchemaDocs, (XmlSchemaAttribute) obj, schemaObj); serializedSchema.appendChild(e);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); attributeGroup.appendChild(attr);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); attributeGroup.appendChild(attr);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); attributeGroup.appendChild(attr);
Element attribute = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); extension.appendChild(attribute);
Element attribute = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); extension.appendChild(attribute);
Element attribute = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); extension.appendChild(attribute);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); restriction.appendChild(attr);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); extension.appendChild(attr);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); restriction.appendChild(attr);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); extension.appendChild(attr);
Element attribute = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); restriction.appendChild(attribute);
Element attr = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); extension.appendChild(attr);
Element attribute = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); restriction.appendChild(attribute);
Element attribute = serializeAttribute(doc, (XmlSchemaAttribute) obj, schema); restriction.appendChild(attribute);