throw new RuntimeException("getSchemaQualifier on anonymous element."); if (attribute.isRef()) { throw new RuntimeException("getSchemaQualified on the 'from' side of ref=.");
throw new RuntimeException("getSchemaQualifier on anonymous element."); if (attribute.isRef()) { throw new RuntimeException("getSchemaQualified on the 'from' side of ref=.");
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); }
throw new RuntimeException("getSchemaQualifier on anonymous element."); if (attribute.isRef()) { throw new RuntimeException("getSchemaQualified on the 'from' side of ref=.");
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); }
throw new RuntimeException("getSchemaQualifier on anonymous element."); if (attribute.isRef()) { throw new RuntimeException("getSchemaQualified on the 'from' side of ref=.");
throw new RuntimeException("getSchemaQualifier on anonymous element."); if (attribute.isRef()) { throw new RuntimeException("getSchemaQualified on the 'from' side of ref=.");
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); }