Class DublinCoreSchema
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.DublinCoreSchema
Representation of a DublinCore Schema
- Author:
- a183132
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AbstractStructuredType
STRUCTURE_ARRAY_NAME -
Constructor Summary
ConstructorsConstructorDescriptionDublinCoreSchema(XMPMetadata metadata) Constructor of a Dublin Core schema with preferred prefixDublinCoreSchema(XMPMetadata metadata, String ownPrefix) Constructor of a Dublin Core schema with specified prefix -
Method Summary
Modifier and TypeMethodDescriptionvoidaddContributor(String properName) set contributor(s) to the resource (other than the authors)voidaddCreator(String properName) set the author(s) of the resourcevoidSet date(s) that something interesting happened to the resourcevoidaddDescription(String lang, String value) add a textual description of the content of the resource (multiple values may be present for different languages)voidaddLanguage(String locale) Add language(s) used in this resourcevoidaddPublisher(String properName) add publisher(s)voidaddRelation(String text) Add relationships to other documentsvoidadd informal rights statement, by language.voidaddSubject(String text) add descriptive phrases or keywords that specify the topic of the content of the resourcevoidset the title of the document, or the name given to the resource (by language)voidset the document type (novel, poem, ...)Return a String list of contributor(s)Return the Bag of contributor(s)Return the value of the coverageReturn the Coverage TextType PropertyReturn the creator(s) string valueReturn the Sequence of contributor(s)getDates()Return a calendar list of dateReturn the sequence of date(s)Get the default value for the description.getDescription(String lang) Return a language value for description propertyReturn a list of languages defined in description propertyReturn the Lang alt Descriptionreturn the file format valueReturn the file format propertyreturn the unique identifier value of this resourceReturn the unique identifier property of this resourceReturn the list of values defined in the DC languageReturn the bag DC languageReturn the list of values defined in the DC publisherReturn the bag DC publisherReturn the list of values defined in the DC relationReturn the bag DC relationReturn the default value for Right propertyReturn a language value for Right propertyReturn a list of languages defined in Right propertyReturn the Lang alt Rightsreturn the source value of this resourceReturn the source property of this resourceReturn the list of values defined in the DC SubjectReturn the bag DC SubjectgetTitle()Get the default value for the title.Return a language value for Title propertyReturn a list of languages defined in Title propertyReturn the Lang alt TitlegetTypes()Return the list of values defined in the DC TypeReturn the bag DC TypevoidremoveContributor(String properName) voidremoveCreator(String name) voidremoveDate(Calendar date) voidremoveLanguage(String locale) voidremovePublisher(String name) voidremoveRelation(String text) voidremoveSubject(String text) voidremoveType(String type) voidsetCoverage(String text) set the extent or scope of the resourcevoidsetCoverageProperty(TextType text) set the extent or scope of the resourcevoidsetDescription(String value) Set the default value for the description.voidset the file format used when saving the resource.voidsetFormatProperty(MIMEType text) Set the unique identifier of the work from which this resource was derivedvoidsetIdentifier(String text) Set the unique identifier of the resourcevoidSet the unique identifier of the resourcevoidSet the unique identifier of the work from which this resource was derivedvoidsetSourceProperty(TextType text) Set the unique identifier of the work from which this resource was derivedvoidset default titlevoidset the title of the document, or the name given to the resource (by language)Methods 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
-
CONTRIBUTOR
- See Also:
-
COVERAGE
- See Also:
-
CREATOR
- See Also:
-
DATE
- See Also:
-
DESCRIPTION
- See Also:
-
FORMAT
- See Also:
-
IDENTIFIER
- See Also:
-
LANGUAGE
- See Also:
-
PUBLISHER
- See Also:
-
RELATION
- See Also:
-
RIGHTS
- See Also:
-
SOURCE
- See Also:
-
SUBJECT
- See Also:
-
TITLE
- See Also:
-
TYPE
- See Also:
-
-
Constructor Details
-
DublinCoreSchema
Constructor of a Dublin Core schema with preferred prefix- Parameters:
metadata- The metadata to attach this schema
-
DublinCoreSchema
Constructor of a Dublin Core schema with specified prefix- Parameters:
metadata- The metadata to attach this schemaownPrefix- The prefix to assign
-
-
Method Details
-
addContributor
set contributor(s) to the resource (other than the authors)- Parameters:
properName- Value to set
-
removeContributor
-
setCoverage
set the extent or scope of the resource- Parameters:
text- Value to set
-
setCoverageProperty
set the extent or scope of the resource- Parameters:
text- Property to set
-
addCreator
set the author(s) of the resource- Parameters:
properName- Value to add
-
removeCreator
-
addDate
Set date(s) that something interesting happened to the resource- Parameters:
date- Value to add
-
removeDate
-
addDescription
-
setDescription
Set the default value for the description.- Parameters:
value- The description of this resource.
-
setFormat
set the file format used when saving the resource.- Parameters:
mimeType- Value to set
-
setIdentifier
Set the unique identifier of the resource- Parameters:
text- Value to set
-
setIdentifierProperty
Set the unique identifier of the resource- Parameters:
text- Property to set
-
addLanguage
Add language(s) used in this resource- Parameters:
locale- Value to set
-
removeLanguage
-
addPublisher
-
removePublisher
-
addRelation
Add relationships to other documents- Parameters:
text- Value to set
-
removeRelation
-
addRights
-
setSource
Set the unique identifier of the work from which this resource was derived- Parameters:
text- Value to set
-
setSourceProperty
Set the unique identifier of the work from which this resource was derived- Parameters:
text- Property to set
-
setFormatProperty
Set the unique identifier of the work from which this resource was derived- Parameters:
text- Property to set
-
addSubject
add descriptive phrases or keywords that specify the topic of the content of the resource- Parameters:
text- Value to add
-
removeSubject
-
setTitle
-
setTitle
-
addTitle
-
addType
set the document type (novel, poem, ...)- Parameters:
type- Value to set
-
getContributorsProperty
Return the Bag of contributor(s)- Returns:
- Contributor property
-
getContributors
-
getCoverageProperty
Return the Coverage TextType Property- Returns:
- Coverage property
-
getCoverage
-
getCreatorsProperty
Return the Sequence of contributor(s)- Returns:
- Creator property
-
getCreators
-
getDatesProperty
-
getDates
-
getDescriptionProperty
Return the Lang alt Description- Returns:
- Description property
-
getDescriptionLanguages
-
getDescription
-
getDescription
Get the default value for the description.- Returns:
- The description of this resource.
-
getFormatProperty
-
getFormat
-
getIdentifierProperty
Return the unique identifier property of this resource- Returns:
- the identifier property
-
getIdentifier
return the unique identifier value of this resource- Returns:
- the unique identifier value
-
getLanguagesProperty
-
getLanguages
-
getPublishersProperty
Return the bag DC publisher- Returns:
- publisher property
-
getPublishers
-
getRelationsProperty
-
getRelations
-
getRightsProperty
-
getRightsLanguages
-
getRights
-
getRights
Return the default value for Right property- Returns:
- the default rights value
- See Also:
-
getSourceProperty
Return the source property of this resource- Returns:
- source property
-
getSource
return the source value of this resource- Returns:
- value of source property
-
getSubjectsProperty
-
getSubjects
-
getTitleProperty
-
getTitleLanguages
-
getTitle
-
getTitle
Get the default value for the title.- Returns:
- The default title of this resource.
-
getTypesProperty
-
getTypes
-
removeType
-