Interface HasExtensionAttributes

    • Method Detail

      • getAttributes

        java.util.Map<java.lang.String,​java.util.List<ExtensionAttribute>> getAttributes()
        get element's attributes
      • getAttributeValue

        java.lang.String getAttributeValue​(java.lang.String namespace,
                                           java.lang.String name)
        return value of the attribute from given namespace with given name.
        Parameters:
        namespace -
        name -
        Returns:
        attribute value or null in case when attribute was not found
      • addAttribute

        void addAttribute​(ExtensionAttribute attribute)
        add attribute to the object
      • setAttributes

        void setAttributes​(java.util.Map<java.lang.String,​java.util.List<ExtensionAttribute>> attributes)
        set all object's attributes