public void setSchema(XmlSchema schema) { this.schema = schema; isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED); isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
private static boolean isAttributeFormQualified(XmlSchema schema, String uri) { if (uri.equals(schema.getTargetNamespace())) { return schema.getAttributeFormDefault() == XmlSchemaForm.QUALIFIED; } for (XmlSchemaExternal extSchema : schema.getExternals()) { return isAttributeFormQualified(extSchema.getSchema(), uri); } return false; }
public void setSchema(XmlSchema schema) { this.schema = schema; isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED); isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
public void setSchema(XmlSchema schema) { this.schema = schema; isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED); isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
public void setSchema(XmlSchema schema) { this.schema = schema; isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED); isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) { if (attribute.isRef()) { throw new RuntimeException("isElementNameQualified on element with ref="); } if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) { return true; } if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) { return false; } return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) { if (attribute.isRef()) { throw new RuntimeException("isElementNameQualified on element with ref="); } if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) { return true; } if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) { return false; } return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) { if (attribute.isRef()) { throw new RuntimeException("isElementNameQualified on element with ref="); } if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) { return true; } if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) { return false; } return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) { if (attribute.isRef()) { throw new RuntimeException("isElementNameQualified on element with ref="); } if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) { return true; } if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) { return false; } return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) { if (attribute.isRef()) { throw new RuntimeException("isElementNameQualified on element with ref="); } if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) { return true; } if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) { return false; } return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED); }
boolean isQualified = schema.getAttributeFormDefault().getValue() .equals(XmlSchemaForm.QUALIFIED); if (attr.name != null) {
boolean isQualified = schema.getAttributeFormDefault().getValue() .equals(XmlSchemaForm.QUALIFIED); if (attr.name != null) {
boolean isQualified = schema.getAttributeFormDefault().getValue().equals(XmlSchemaForm.QUALIFIED); if (attr.name != null) { final String name = attr.name;