public final class DublinCorePackage extends XmpPackage
Represents Dublic Core schema.
For more information see: http://dublincore.org/documents/usageguide/elements.shtml.
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.
|
void |
setAuthor(String author)
Adds the author.
|
void |
setAuthor(String[] author)
Adds the author.
|
void |
setDescription(LangAlt desc)
Adds the description.
|
void |
setDescription(String desc)
Adds the description.
|
void |
setPublisher(String publisher)
Adds the publisher.
|
void |
setPublisher(String[] publisher)
Adds the publisher.
|
void |
setSubject(String subject)
Adds the subject.
|
void |
setSubject(String[] subject)
Adds the subject.
|
void |
setTitle(LangAlt title)
Adds Dublin Core title for different languages.
|
void |
setTitle(String title)
Adds Dublin Core title.
|
clear, containsKey, get_Item, getKeys, getNamespaceUri, getPrefix, getXmlNamespace, getXmlValue, iterator, remove, set_Item, setValue, setXmpTypeValue
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public DublinCorePackage()
Initializes a new instance of the DublinCorePackage
class.
public void addValue(String key, String value)
Adds string property.
addValue
in class XmpPackage
key
- The string representation of key that is identified with added value.value
- The string value.com.aspose.ms.System.ArgumentNullException
- key;DublinCore property could not be nullpublic void setTitle(String title)
Adds Dublin Core title.
title
- The title.public void setTitle(LangAlt title)
Adds Dublin Core title for different languages.
title
- Instance of LangAlt
.public void setDescription(String desc)
Adds the description.
desc
- The description.public void setDescription(LangAlt desc)
Adds the description.
desc
- The description.public void setSubject(String subject)
Adds the subject.
subject
- The subject.public void setSubject(String[] subject)
Adds the subject.
subject
- The subject.public void setAuthor(String author)
Adds the author.
author
- The author.public void setAuthor(String[] author)
Adds the author.
author
- The author.public void setPublisher(String publisher)
Adds the publisher.
publisher
- The publisher.public void setPublisher(String[] publisher)
Adds the publisher.
publisher
- The publisher.com.aspose.ms.System.ArgumentNullException
- publisher