Interface XSIdentityConstraint

    • Method Detail

      • getName

        java.lang.String getName()
        Name of the identity constraint. A name uniquely identifies this XSIdentityConstraint within the namespace.
        Returns:
        never null.
      • getTargetNamespace

        java.lang.String getTargetNamespace()
        Target namespace of the identity constraint. Just short for getParent().getTargetNamespace().
      • getCategory

        short getCategory()
        Returns the type of the identity constraint.
        Returns:
        either KEY,KEYREF, or UNIQUE.
      • getSelector

        XSXPath getSelector()
        Returns the selector XPath expression as string.
        Returns:
        never null.
      • getFields

        java.util.List<XSXPath> getFields()
        Returns the list of field XPaths.
        Returns:
        a non-empty read-only list of Strings, each representing the XPath.