Class XMPRightsManagementSchema
java.lang.Object
org.apache.xmpbox.type.AbstractField
org.apache.xmpbox.type.AbstractComplexProperty
org.apache.xmpbox.type.AbstractStructuredType
org.apache.xmpbox.schema.XMPSchema
org.apache.xmpbox.schema.XMPRightsManagementSchema
Representation of XMP Rights Management Schema
- Author:
- a183132
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AbstractStructuredType
STRUCTURE_ARRAY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionXMPRightsManagementSchema(XMPMetadata metadata) Constructor of XMPRightsManagement Schema with preferred prefixXMPRightsManagementSchema(XMPMetadata metadata, String ownPrefix) Constructor of XMPRightsManagement schema with specified prefix -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a legal owner for the described resource.voidaddUsageTerms(String lang, String value) Add an usageTerms valueReturn the Certificate URL as String.Return the Certificate URL as TextType.Get Marked valueGet Marked propertyReturn a String list of owner(s)Return the Bag of owner(s)Get the default usage terms for the document.getUsageTerms(String lang) Return a language value for description propertyReturn a list of languages defined in description propertyReturn the Lang alt UsageTermsReturn the WebStatement URL as String.Return the WebStatement URL as TextType.voidremoveOwner(String value) voidsetCertificate(String url) Set the Certificate URL.voidSet the Certificate URL.voidSet Marked valuevoidsetMarkedProperty(BooleanType marked) Set Marked propertyvoidsetUsageTerms(String terms) Set the default usage terms for this resource.voidsetWebStatement(String url) Set the WebStatement urlvoidSet the WebStatement urlMethods inherited from class XMPSchema
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, setUnqualifiedLanguagePropertyValueMethods inherited from class AbstractStructuredType
addSimpleProperty, createArrayProperty, createTextType, getDatePropertyAsCalendar, getNamespace, getPreferedPrefix, getPrefix, getPropertyValueAsString, setNamespace, setPrefixMethods inherited from class AbstractComplexProperty
addNamespace, addProperty, getAllNamespacesWithPrefix, getAllProperties, getArrayProperty, getContainer, getFirstEquivalentProperty, getNamespacePrefix, getProperty, removePropertyMethods inherited from class AbstractField
containsAttribute, getAllAttributes, getAttribute, getMetadata, getPropertyName, removeAttribute, setAttribute, setPropertyName
-
Field Details
-
CERTIFICATE
- See Also:
-
MARKED
- See Also:
-
OWNER
- See Also:
-
USAGETERMS
- See Also:
-
WEBSTATEMENT
- See Also:
-
-
Constructor Details
-
XMPRightsManagementSchema
Constructor of XMPRightsManagement Schema with preferred prefix- Parameters:
metadata- The metadata to attach this schema
-
XMPRightsManagementSchema
Constructor of XMPRightsManagement schema with specified prefix- Parameters:
metadata- The metadata to attach this schemaownPrefix- The prefix to assign
-
-
Method Details
-
addOwner
Add a legal owner for the described resource.- Parameters:
value- value to add
-
removeOwner
-
getOwnersProperty
-
getOwners
-
setMarked
-
setMarkedProperty
Set Marked property- Parameters:
marked- Marked property to set
-
getMarkedProperty
-
getMarked
-
addUsageTerms
-
setUsageTerms
Set the default usage terms for this resource.- Parameters:
terms- The resource usage terms.
-
getUsageTermsProperty
Return the Lang alt UsageTerms- Returns:
- usageterms property
-
getUsageTermsLanguages
-
getUsageTerms
-
getUsageTerms
Get the default usage terms for the document.- Returns:
- The terms for this resource.
-
getWebStatementProperty
Return the WebStatement URL as TextType.- Returns:
- Webstatement URL property
-
getWebStatement
Return the WebStatement URL as String.- Returns:
- webStatement URL value
-
setWebStatement
Set the WebStatement url- Parameters:
url- WebStatemen url value to set
-
setWebStatementProperty
Set the WebStatement url- Parameters:
url- WebStatemen url property to set
-
getCertificateProperty
Return the Certificate URL as TextType.- Returns:
- certificate url property
-
getCertificate
-
setCertificate
Set the Certificate URL.- Parameters:
url- certificate url value to set
-
setCertificateProperty
Set the Certificate URL.- Parameters:
url- certificate url property to set
-