|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jempbox.xmp.XMPSchema
org.jempbox.xmp.XMPSchemaRightsManagement
Define XMP properties that are related to rights management.
Field Summary | |
static String |
NAMESPACE
The namespace for this schema. |
Fields inherited from class org.jempbox.xmp.XMPSchema |
schema |
Constructor Summary | |
XMPSchemaRightsManagement(Element element)
Constructor from existing XML element. |
|
XMPSchemaRightsManagement(XMPMetadata parent)
Construct a new blank PDF schema. |
Method Summary | |
void |
addOwner(String owner)
Add an owner to the list. |
String |
getCertificateURL()
Get the URL of the rights managment certificate. |
Boolean |
getMarked()
Get the flag that indicates if this is a mared resource.. |
List |
getOwners()
Get the complete list of legal owners. |
String |
getUsageTerms()
Get the default usage terms for the document. |
String |
getUsageTerms(String language)
Get the usage terms in a specific language. |
List |
getUsageTermsLanguages()
Get a list of all languages that a usage term exists for. |
String |
getWebStatement()
Get the URL that describes the terms of this resource. |
void |
removeOwner(String owner)
Remove an owner from the list. |
void |
setCertificateURL(String certificate)
The online rights management certificate. |
void |
setDescription(String language,
String terms)
Set the usage terms of this resource in a specific language. |
void |
setMarked(Boolean marked)
Flag indicating if this is a rights managed resource. |
void |
setUsageTerms(String terms)
Set the default usage terms for this resource. |
void |
setWebStatement(String webStatement)
Set the external link that describes the owners/rights of this resource. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String NAMESPACE
Constructor Detail |
public XMPSchemaRightsManagement(XMPMetadata parent)
parent
- The parent metadata schema that this will be part of.public XMPSchemaRightsManagement(Element element)
element
- The existing element.Method Detail |
public void setCertificateURL(String certificate)
certificate
- The URL to the rights cert.public String getCertificateURL()
public void setMarked(Boolean marked)
marked
- The marked value.public Boolean getMarked()
public void removeOwner(String owner)
owner
- The owner to remove.public void addOwner(String owner)
owner
- A new legal owner to this resource.public List getOwners()
public void setUsageTerms(String terms)
terms
- The resource usage terms.public String getUsageTerms()
public void setDescription(String language, String terms)
language
- The language code.terms
- The terms of this resource.public String getUsageTerms(String language)
language
- The language code to get the description for.
public List getUsageTermsLanguages()
public void setWebStatement(String webStatement)
webStatement
- The URL to a terms site.public String getWebStatement()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |