public final class DublinCorePackage extends XmpPackage
Represents Dublic Core schema.
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, getEnumerator, getKeys, getNamespaceUri, getPrefix, getXmlNamespace, getXmlValue, iterator, remove, setValue, setXmpBoolean, setXmpGuid, setXmpTypeValue
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 final void setTitle(String title)
Adds Dublin Core title.
title
- The title.public final void setTitle(LangAlt title)
Adds Dublin Core title for different languages.
title
- Instance of LangAlt
.public final void setDescription(String desc)
Adds the description.
desc
- The description.public final void setDescription(LangAlt desc)
Adds the description.
desc
- The description.public final void setSubject(String subject)
Adds the subject.
subject
- The subject.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
- publisherCopyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.