com.groupdocs.redaction

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()

        Creates new instance

    • Method Detail

      • getOriginalName

        public final String getOriginalName()

        Original name, as it appears in the document

      • setOriginalName

        public final void setOriginalName(String value)

        Original name, as it appears in the document

      • getFilter

        public final int getFilter()

        Value of MetadataFilter, assigned to this metadata item. Used in items filtration

      • setFilter

        public final void setFilter(int value)

        Value of MetadataFilter, assigned to this metadata item. Used in items filtration

      • getValues

        public final List<String> getValues()

        Metadata item value

      • setValues

        public final void setValues(List<String> value)

        Metadata item value

      • isCustom

        public final boolean isCustom()

        True, if this item is custom (added by authors of the document)

      • setCustom

        public final void setCustom(boolean value)

        True, if this item is custom (added by authors of the document)

      • getDictionaryKey

        public final String getDictionaryKey()

        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()

        String representation of metadata item value