Interface XAttributable

    • Method Detail

      • getAttributes

        XAttributeMap getAttributes()
        Retrieves the attributes set for this element.
        Returns:
        A map of attributes.
      • setAttributes

        void setAttributes​(XAttributeMap attributes)
        Sets the map of attributes for this element.
        Parameters:
        attributes - A map of attributes.
      • hasAttributes

        boolean hasAttributes()
        Checks for the existence of attributes. This method can be a more efficient way of checking for the existance of attributes than using getAttributes() in certain situations.
        Returns:
        whether this element has any attributes
      • getExtensions

        java.util.Set<XExtension> getExtensions()
        Retrieves the extensions used by this element, i.e. the extensions used by all attributes of this element, and the element itself.
        Returns:
        A set of extensions.