com.groupdocs.redaction.integration

Class MetadataItem



  • public final class MetadataItem
    extends Object

    Represents an item of metadata, common for all supported formats and used in metadata redactions.

    • Constructor Detail

      • MetadataItem

        public MetadataItem()

        Initializes a new instance.

    • Method Detail

      • getOriginalName

        public final String getOriginalName()

        Gets an original name of the metadata item, as it appears in the document.

        Returns:
        An original name of the metadata item, as it appears in the document.
      • setOriginalName

        public final void setOriginalName(String value)

        Sets an original name of the metadata item, as it appears in the document.

        Parameters:
        value - An original name of the metadata item, as it appears in the document.
      • getFilter

        public final int getFilter()

        Gets a value of MetadataFilters, assigned to this metadata item. Used in items filtration.

        Returns:
        A value of MetadataFilters, assigned to this metadata item. Used in items filtration.
      • setFilter

        public final void setFilter(int value)

        Sets a value of MetadataFilters, assigned to this metadata item. Used in items filtration.

        Parameters:
        value - A value of MetadataFilters, assigned to this metadata item. Used in items filtration.
      • getValues

        public final List<String> getValues()

        Gets the metadata item value.

        Returns:
        The metadata item value.
      • setValues

        public final void setValues(List<String> value)

        Sets the metadata item value.

        Parameters:
        value - The metadata item value.
      • isCustom

        public final boolean isCustom()

        Gets a value indicating whether this item is custom (added by the authors of the document).

        Returns:
        A value indicating whether this item is custom (added by the authors of the document).
      • setCustom

        public final void setCustom(boolean value)

        Sets a value indicating whether this item is custom (added by the authors of the document).

        Parameters:
        value - A value indicating whether this item is custom (added by the authors of the document).
      • getDictionaryKey

        public final String getDictionaryKey()

        Gets a dictionary key for MetadataCollection, includes IsCustom and OriginalName.

        Returns:
        A dictionary key for MetadataCollection, includes IsCustom and OriginalName.
      • createClone

        public final MetadataItem createClone()

        Creates a deep clone of current instance.

        Returns:
        Object clone
      • getActualValue

        public final String getActualValue()

        Gets the string representation of the metadata item value.

        Returns:
        The string representation of the metadata item value.