public class XMPSchemaRightsManagement extends XMPSchema
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE
The namespace for this schema.
|
NS_NAMESPACE, prefix, schema
Constructor and Description |
---|
XMPSchemaRightsManagement(org.w3c.dom.Element element,
java.lang.String prefix)
Constructor from existing XML element.
|
XMPSchemaRightsManagement(XMPMetadata parent)
Construct a new blank PDF schema.
|
Modifier and Type | Method and Description |
---|---|
void |
addOwner(java.lang.String owner)
Add an owner to the list.
|
java.lang.String |
getCertificateURL()
Get the URL of the rights managment certificate.
|
java.lang.String |
getCopyright()
Get the copyright information.
|
java.lang.Boolean |
getMarked()
Get the flag that indicates if this is a marked resource..
|
java.util.List<java.lang.String> |
getOwners()
Get the complete list of legal owners.
|
java.lang.String |
getUsageTerms()
Get the default usage terms for the document.
|
java.lang.String |
getUsageTerms(java.lang.String language)
Get the usage terms in a specific language.
|
java.util.List<java.lang.String> |
getUsageTermsLanguages()
Get a list of all languages that a usage term exists for.
|
java.lang.String |
getWebStatement()
Get the URL that describes the terms of this resource.
|
void |
removeOwner(java.lang.String owner)
Remove an owner from the list.
|
void |
setCertificateURL(java.lang.String certificate)
The online rights management certificate.
|
void |
setCopyright(java.lang.String copyright)
Set the copyright information.
|
void |
setDescription(java.lang.String language,
java.lang.String terms)
Set the usage terms of this resource in a specific language.
|
void |
setMarked(java.lang.Boolean marked)
Flag indicating if this is a rights managed resource.
|
void |
setUsageTerms(java.lang.String terms)
Set the default usage terms for this resource.
|
void |
setWebStatement(java.lang.String webStatement)
Set the external link that describes the owners/rights of this resource.
|
addBagValue, addSequenceDateValue, addSequenceValue, addSequenceValue, getAbout, getBagList, getBooleanProperty, getDateProperty, getElement, getEventSequenceList, getIntegerProperty, getLanguageProperty, getLanguagePropertyLanguages, getSequenceDateList, getSequenceList, getTextProperty, getThumbnailProperty, merge, removeBagValue, removeSequenceDateValue, removeSequenceValue, removeSequenceValue, setAbout, setBooleanProperty, setDateProperty, setIntegerProperty, setLanguageProperty, setTextProperty, setThumbnailProperty
public static final java.lang.String NAMESPACE
public XMPSchemaRightsManagement(XMPMetadata parent)
parent
- The parent metadata schema that this will be part of.public XMPSchemaRightsManagement(org.w3c.dom.Element element, java.lang.String prefix)
element
- The existing element.prefix
- The schema prefix.public void setCertificateURL(java.lang.String certificate)
certificate
- The URL to the rights cert.public java.lang.String getCertificateURL()
public void setMarked(java.lang.Boolean marked)
marked
- The marked value.public java.lang.Boolean getMarked()
public void removeOwner(java.lang.String owner)
owner
- The owner to remove.public void addOwner(java.lang.String owner)
owner
- A new legal owner to this resource.public java.util.List<java.lang.String> getOwners()
public void setUsageTerms(java.lang.String terms)
terms
- The resource usage terms.public java.lang.String getUsageTerms()
public void setDescription(java.lang.String language, java.lang.String terms)
language
- The language code.terms
- The terms of this resource.public java.lang.String getUsageTerms(java.lang.String language)
language
- The language code to get the description for.public java.util.List<java.lang.String> getUsageTermsLanguages()
public void setWebStatement(java.lang.String webStatement)
webStatement
- The URL to a terms site.public java.lang.String getWebStatement()
public void setCopyright(java.lang.String copyright)
copyright
- The copyright information.public java.lang.String getCopyright()