public class XMPRightsManagementSchema extends XMPSchema
Modifier and Type | Field and Description |
---|---|
static String |
CERTIFICATE |
static String |
MARKED |
static String |
OWNER |
static String |
USAGETERMS |
static String |
WEBSTATEMENT |
STRUCTURE_ARRAY_NAME
Constructor and Description |
---|
XMPRightsManagementSchema(XMPMetadata metadata)
Constructor of XMPRightsManagement Schema with preferred prefix
|
XMPRightsManagementSchema(XMPMetadata metadata,
String ownPrefix)
Constructor of XMPRightsManagement schema with specified prefix
|
Modifier and Type | Method and Description |
---|---|
void |
addOwner(String value)
Add a legal owner for the described resource.
|
void |
addUsageTerms(String lang,
String value)
Add an usageTerms value
|
String |
getCertificate()
Return the Certificate URL as String.
|
TextType |
getCertificateProperty()
Return the Certificate URL as TextType.
|
Boolean |
getMarked()
Get Marked value
|
BooleanType |
getMarkedProperty()
Get Marked property
|
List<String> |
getOwners()
Return a String list of owner(s)
|
ArrayProperty |
getOwnersProperty()
Return the Bag of owner(s)
|
String |
getUsageTerms()
Get the default usage terms for the document.
|
String |
getUsageTerms(String lang)
Return a language value for description property
|
List<String> |
getUsageTermsLanguages()
Return a list of languages defined in description property
|
ArrayProperty |
getUsageTermsProperty()
Return the Lang alt UsageTerms
|
String |
getWebStatement()
Return the WebStatement URL as String.
|
TextType |
getWebStatementProperty()
Return the WebStatement URL as TextType.
|
void |
removeOwner(String value) |
void |
setCertificate(String url)
Set the Certificate URL.
|
void |
setCertificateProperty(URLType url)
Set the Certificate URL.
|
void |
setMarked(Boolean marked)
Set Marked value
|
void |
setMarkedProperty(BooleanType marked)
Set Marked property
|
void |
setUsageTerms(String terms)
Set the default usage terms for this resource.
|
void |
setWebStatement(String url)
Set the WebStatement url
|
void |
setWebStatementProperty(URLType url)
Set the WebStatement url
|
addBagValue, addBagValueAsSimple, addQualifiedBagValue, addSequenceDateValueAsSimple, addUnqualifiedSequenceDateValue, addUnqualifiedSequenceValue, addUnqualifiedSequenceValue, getAboutAttribute, getAboutValue, getAbstractProperty, getBooleanProperty, getBooleanPropertyValue, getBooleanPropertyValueAsSimple, getDateProperty, getDatePropertyValue, getDatePropertyValueAsSimple, getIntegerProperty, getIntegerPropertyValue, getIntegerPropertyValueAsSimple, getUnqualifiedArrayList, getUnqualifiedBagValueList, getUnqualifiedLanguagePropertyLanguagesValue, getUnqualifiedLanguagePropertyValue, getUnqualifiedSequenceDateValueList, getUnqualifiedSequenceValueList, getUnqualifiedTextProperty, getUnqualifiedTextPropertyValue, instanciateSimple, merge, removeUnqualifiedArrayValue, removeUnqualifiedBagValue, removeUnqualifiedSequenceDateValue, removeUnqualifiedSequenceValue, removeUnqualifiedSequenceValue, reorganizeAltOrder, setAbout, setAboutAsSimple, setBooleanProperty, setBooleanPropertyValue, setBooleanPropertyValueAsSimple, setDateProperty, setDatePropertyValue, setDatePropertyValueAsSimple, setIntegerProperty, setIntegerPropertyValue, setIntegerPropertyValueAsSimple, setTextProperty, setTextPropertyValue, setTextPropertyValueAsSimple, setUnqualifiedLanguagePropertyValue
addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefix
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removeProperty
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
public static final String CERTIFICATE
public static final String MARKED
public static final String OWNER
public static final String USAGETERMS
public static final String WEBSTATEMENT
public XMPRightsManagementSchema(XMPMetadata metadata)
metadata
- The metadata to attach this schemapublic XMPRightsManagementSchema(XMPMetadata metadata, String ownPrefix)
metadata
- The metadata to attach this schemaownPrefix
- The prefix to assignpublic void addOwner(String value)
value
- value to addpublic void removeOwner(String value)
public ArrayProperty getOwnersProperty()
public List<String> getOwners()
public void setMarked(Boolean marked)
marked
- value to addpublic void setMarkedProperty(BooleanType marked)
marked
- Marked property to setpublic BooleanType getMarkedProperty()
public Boolean getMarked()
public void addUsageTerms(String lang, String value)
lang
- concerned languagevalue
- value to setpublic void setUsageTerms(String terms)
terms
- The resource usage terms.public ArrayProperty getUsageTermsProperty()
public List<String> getUsageTermsLanguages()
public String getUsageTerms(String lang)
lang
- concerned languagepublic String getUsageTerms()
public TextType getWebStatementProperty()
public String getWebStatement()
public void setWebStatement(String url)
url
- WebStatemen url value to setpublic void setWebStatementProperty(URLType url)
url
- WebStatemen url property to setpublic TextType getCertificateProperty()
public String getCertificate()
public void setCertificate(String url)
url
- certficate url value to setpublic void setCertificateProperty(URLType url)
url
- certificate url property to setCopyright © 2002–2016 The Apache Software Foundation. All rights reserved.