public final class DublinCorePackage extends XmpPackage
Represents Dublin Core schema.
namespaceUri, prefix, properties
Constructor and Description |
---|
DublinCorePackage()
Initializes a new instance of the
DublinCorePackage class. |
Modifier and Type | Method and Description |
---|---|
void |
addValue(String key,
String value)
Adds string property.
|
String[] |
getContributors()
Gets contributors.
|
String |
getCoverage()
Gets coverage.
|
String[] |
getCreators()
Gets creators.
|
String |
getFormat()
Gets format.
|
LangAlt |
getRights()
Gets information about rights held in and over the resource.
|
String |
getSource()
Gets source.
|
String[] |
getSubjects()
Gets an array of subjects.
|
void |
setAuthor(String author)
Adds the author.
|
void |
setAuthor(String[] author)
Adds the author.
|
void |
setContributors(String[] value)
Sets contributors.
|
void |
setCoverage(String value)
Sets coverage.
|
void |
setCreators(String[] value)
Sets creators.
|
void |
setDescription(LangAlt desciption)
Adds the description.
|
void |
setDescription(String desciption)
Adds the description.
|
void |
setFormat(String value)
Sets format.
|
void |
setPublisher(String publisher)
Adds the publisher.
|
void |
setPublisher(String[] publisher)
Adds the publisher.
|
void |
setRights(LangAlt value)
Sets information about rights held in and over the resource.
|
void |
setSource(String value)
Sets source.
|
void |
setSubject(String subject)
Adds the subject.
|
void |
setSubjects(String[] value)
Sets an array of subjects.
|
void |
setTitle(LangAlt title)
Adds Dublin Core title for different languages.
|
void |
setTitle(String title)
Adds Dublin Core title.
|
addValue, addValue, addValue, clear, containsKey, getGenericArray, getKeys, getKeyValueAsXml, getLangAlt, getNamespaceUri, getNodeType, getPrefix, getReal, getString, getStringArray, getXmlNamespace, getXmlValue, readByXmpKey, remove, setArray, setBoolValue, setDateValue, setIntValue, setLangAlt, setNullableInt, setRealValue, setStingArray, setTextValue, setXmpComplexTypeValue, setXmpTypeValue, setXmpValue
public DublinCorePackage()
Initializes a new instance of the DublinCorePackage
class.
public final String[] getContributors()
Gets contributors.
public final void setContributors(String[] value)
Sets contributors.
value
- Contributors.public final String getCoverage()
Gets coverage.
public final void setCoverage(String value)
Sets coverage.
value
- The coverage.public final String[] getCreators()
Gets creators.
public final void setCreators(String[] value)
Sets creators.
value
- Array of creators.public final String getFormat()
Gets format.
public final void setFormat(String value)
Sets format.
value
- The format, for example: image/gif.public final LangAlt getRights()
Gets information about rights held in and over the resource.
public final void setRights(LangAlt value)
Sets information about rights held in and over the resource.
value
- Rights.public final String getSource()
Gets source.
public final void setSource(String value)
Sets source.
value
- The source.public final String[] getSubjects()
Gets an array of subjects.
public final void setSubjects(String[] value)
Sets an array of subjects.
value
- An array of subjects.public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- DublinCore key.value
- Value presented in string form.com.aspose.ms.System.ArgumentNullException
- DublinCore property could not be null.public final void setTitle(String title)
Adds Dublin Core title.
title
- Title value.public final void setTitle(LangAlt title)
Adds Dublin Core title for different languages.
title
- Instance of LangAlt
.public final void setDescription(String desciption)
Adds the description.
desciption
- Description value.public final void setDescription(LangAlt desciption)
Adds the description.
desciption
- Description value.public final void setSubject(String subject)
Adds the subject.
subject
- The subject.public final void setAuthor(String author)
Adds the author.
author
- The author.public final void setAuthor(String[] author)
Adds the author.
author
- The author.public final void setPublisher(String publisher)
Adds the publisher.
publisher
- The publisher.public final void setPublisher(String[] publisher)
Adds the publisher.
publisher
- The publisher.com.aspose.ms.System.ArgumentNullException
- Publisher could not be null.Copyright © 2019. All rights reserved.