Packages

 

com.aspose.cad.xmp.schemas.xmprm

Class XmpRightsManagementPackage

  • java.lang.Object
    • com.aspose.cad.xmp.XmpPackage
      • com.aspose.cad.xmp.schemas.xmprm.XmpRightsManagementPackage
  • All Implemented Interfaces:
    IXmlValue, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, com.aspose.ms.System.Collections.IEnumerable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>, Iterable<com.aspose.ms.System.Collections.Generic.KeyValuePair<String,Object>>


    public final class XmpRightsManagementPackage
    extends com.aspose.cad.xmp.XmpPackage

    Represents XMP Rights Management namespace.

    • Constructor Detail

      • XmpRightsManagementPackage

        public XmpRightsManagementPackage()

        Initializes a new instance of the XmpRightsManagementPackage class.

    • Method Detail

      • addValue

        public void addValue(String key,
                    String value)

        Adds string property.

        Overrides:
        addValue in class com.aspose.cad.xmp.XmpPackage
        Parameters:
        key - The string representation of key that is identified with added value.
        value - The string value.
        Throws:
        com.aspose.ms.System.ArgumentNullException - key;Key should be provided for XMP Rights Management namespace
      • setCertificate

        public void setCertificate(String certificate)

        Sets the certificate.

        Parameters:
        certificate - The certificate.
      • setMarkedAsRightManagement

        public void setMarkedAsRightManagement(boolean value)

        Marks as right management content

        Parameters:
        value - if set to true that this is a rights-managed resource.
      • setOwners

        public void setOwners(String[] owners)

        Sets owners.

        Parameters:
        owners - The owners.
      • setUsageTerms

        public void setUsageTerms(LangAlt usageTerms)

        Sets the usage terms.

        Parameters:
        usageTerms - The usage terms.
        Throws:
        com.aspose.ms.System.ArgumentNullException - usageTerms
      • setWebStatement

        public void setWebStatement(String webStatementUrl)

        Sets the web statement.

        Parameters:
        webStatementUrl - The web statement URL.