public final class XmpRightsManagementPackage extends XmpPackage
Represents XMP Rights Management namespace.
namespaceUri, prefix, properties
Constructor and Description |
---|
XmpRightsManagementPackage()
Initializes a new instance of the
XmpRightsManagementPackage class. |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String key,
String value)
Adds string property.
|
void |
setCertificate(String certificate)
Sets the certificate.
|
void |
setMarkedAsRightManagement(boolean value)
Marks as right management content
|
void |
setOwners(String[] owners)
Sets owners.
|
void |
setUsageTerms(LangAlt usageTerms)
Sets the usage terms.
|
void |
setWebStatement(String webStatementUrl)
Sets the web statement.
|
addValue, addValue, addValue, clear, containsKey, getGenericArray, getKeys, getKeyValueAsXml, getLangAlt, getNamespaceUri, getNodeType, getPrefix, getReal, getString, getStringArray, getXmlNamespace, getXmlValue, readByXmpKey, remove, setArray, setBoolValue, setDateValue, setIntValue, setLangAlt, setNullableInt, setRealValue, setStingArray, setTextValue, setXmpComplexTypeValue, setXmpTypeValue, setXmpValue
public XmpRightsManagementPackage()
Initializes a new instance of the XmpRightsManagementPackage
class.
public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- Rights management key.value
- String value.com.aspose.ms.System.ArgumentNullException
- Key should be provided for XMP Rights Management namespace.public final void setCertificate(String certificate)
Sets the certificate.
certificate
- Url to the rights management certificate.public final void setMarkedAsRightManagement(boolean value)
Marks as right management content
value
- When true - resource is rights-managed. Otherwise it's a public-domain resource.public final void setOwners(String[] owners)
Sets owners.
owners
- The owners of the resources.public final void setUsageTerms(LangAlt usageTerms)
Sets the usage terms.
usageTerms
- Instructions on how a resource can be used.com.aspose.ms.System.ArgumentNullException
- Usage terms could not be null.public final void setWebStatement(String webStatementUrl)
Sets the web statement.
webStatementUrl
- Url to the a statement of the ownership and usage rights for resource.Copyright © 2017. All rights reserved.