com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class XmpElementBase

    • Constructor Detail

      • XmpElementBase

        protected XmpElementBase()

        Initializes a new instance of the XmpElementBase class.

    • Method Detail

      • setAttribute

        public void setAttribute(String attribute,
                        String value)

        Adds the attribute.

        Parameters:
        attribute - Attribute key.
        value - Attribute value.
      • clearAttributes

        public final void clearAttributes()

        Removes all attributes.

      • containsAttribute

        public final boolean containsAttribute(String attribute)

        Determines whether the element contains a specific attribute.

        Parameters:
        attribute - Attribute name.
        Returns:
        true if attribute is exist; otherwise false.
      • getAttribute

        public final String getAttribute(String attribute)

        Gets the attribute.

        Parameters:
        attribute - The attribute.
        Returns:
        The attribute value.