/** * The attributeFormDefault for this schema. * * @return The attributeFormDefault for this schema. */ public String getAttributeFormDefault() { for (Schema pckg : getPackages()) { if (pckg.getAttributeFormDefault() != null) { return pckg.getAttributeFormDefault().toString().toLowerCase(); } } return null; }
/** * The elementFormDefault for this schema. * * @return The elementFormDefault for this schema. */ public String getElementFormDefault() { for (Schema pckg : getPackages()) { if (pckg.getElementFormDefault() != null) { return pckg.getElementFormDefault().toString().toLowerCase(); } } return null; }
/** * The elementFormDefault for this schema. * * @return The elementFormDefault for this schema. */ public String getElementFormDefault() { for (Schema pckg : getPackages()) { if (pckg.getElementFormDefault() != null) { return pckg.getElementFormDefault().toString().toLowerCase(); } } return null; }
/** * The attributeFormDefault for this schema. * * @return The attributeFormDefault for this schema. */ public String getAttributeFormDefault() { for (Schema pckg : getPackages()) { if (pckg.getAttributeFormDefault() != null) { return pckg.getAttributeFormDefault().toString().toLowerCase(); } } return null; }
for (Schema pckg : schemaInfo.getPackages()) { if ((pckg.getElementFormDefault() != null) && (schema.getElementFormDefault() != pckg.getElementFormDefault())) { throw new ValidationException(schema.getPosition(), "Inconsistent elementFormDefault declarations: " + pckg.getPosition()); for (Schema pckg : schemaInfo.getPackages()) { if ((pckg.getAttributeFormDefault() != null) && (schema.getAttributeFormDefault() != pckg.getAttributeFormDefault())) { throw new ValidationException(schema.getPosition(), "Inconsistent attributeFormDefault declarations: " + pckg.getPosition()); schemaInfo.getPackages().add(schema);
for (Schema pckg : schemaInfo.getPackages()) { if ((pckg.getElementFormDefault() != null) && (schema.getElementFormDefault() != pckg.getElementFormDefault())) { throw new ValidationException(schema.getPosition(), schema.getQualifiedName() + ": inconsistent elementFormDefault declarations: " + pckg.getQualifiedName()); for (Schema pckg : schemaInfo.getPackages()) { if ((pckg.getAttributeFormDefault() != null) && (schema.getAttributeFormDefault() != pckg.getAttributeFormDefault())) { throw new ValidationException(schema.getPosition(), schema.getQualifiedName() + ": inconsistent attributeFormDefault declarations: " + pckg.getQualifiedName()); schemaInfo.getPackages().add(schema);