XmpRightsManagementPackage

Inheritance: java.lang.Object, com.aspose.imaging.xmp.XmpPackage

public final class XmpRightsManagementPackage extends XmpPackage

Represents XMP Rights Management namespace.

Constructors

ConstructorDescription
XmpRightsManagementPackage()Initializes a new instance of the XmpRightsManagementPackage class.

Methods

MethodDescription
addValue(String key, String value)Adds string property.
setCertificate(String certificate)Sets the certificate.
setMarkedAsRightManagement(boolean value)Marks as right management content
setOwners(String[] owners)Sets owners.
setUsageTerms(LangAlt usageTerms)Sets the usage terms.
setWebStatement(String webStatementUrl)Sets the web statement.

XmpRightsManagementPackage()

public XmpRightsManagementPackage()

Initializes a new instance of the XmpRightsManagementPackage class.

addValue(String key, String value)

public void addValue(String key, String value)

Adds string property.

Parameters:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.StringThe string value.

setCertificate(String certificate)

public void setCertificate(String certificate)

Sets the certificate.

Parameters:

ParameterTypeDescription
certificatejava.lang.StringThe certificate.

setMarkedAsRightManagement(boolean value)

public void setMarkedAsRightManagement(boolean value)

Marks as right management content

Parameters:

ParameterTypeDescription
valuebooleanif set to true that this is a rights-managed resource.

setOwners(String[] owners)

public void setOwners(String[] owners)

Sets owners.

Parameters:

ParameterTypeDescription
ownersjava.lang.String[]The owners.

setUsageTerms(LangAlt usageTerms)

public void setUsageTerms(LangAlt usageTerms)

Sets the usage terms.

Parameters:

ParameterTypeDescription
usageTermsLangAltThe usage terms.

setWebStatement(String webStatementUrl)

public void setWebStatement(String webStatementUrl)

Sets the web statement.

Parameters:

ParameterTypeDescription
webStatementUrljava.lang.StringThe web statement URL.