DublinCorePackage
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.imaging.xmp.XmpPackage
public final class DublinCorePackage extends XmpPackage
Represents Dublic Core schema.
For more information see: http://dublincore.org/documents/usageguide/elements.shtml.
Constructors
Constructor | Description |
---|---|
DublinCorePackage() | Initializes a new instance of the DublinCorePackage class. |
Methods
Method | Description |
---|---|
addValue(String key, String value) | Adds string property. |
setTitle(String title) | Adds Dublin Core title. |
setTitle(LangAlt title) | Adds Dublin Core title for different languages. |
setDescription(String desc) | Adds the description. |
setDescription(LangAlt desc) | Adds the description. |
setSubject(String subject) | Adds the subject. |
setSubject(String[] subject) | Adds the subject. |
setAuthor(String author) | Adds the author. |
setAuthor(String[] author) | Adds the author. |
setPublisher(String publisher) | Adds the publisher. |
setPublisher(String[] publisher) | Adds the publisher. |
DublinCorePackage()
public DublinCorePackage()
Initializes a new instance of the DublinCorePackage
class.
addValue(String key, String value)
public void addValue(String key, String value)
Adds string property.
Parameters:
Parameter | Type | Description |
---|---|---|
key | java.lang.String | The string representation of key that is identified with added value. |
value | java.lang.String | The string value. |
setTitle(String title)
public void setTitle(String title)
Adds Dublin Core title.
Parameters:
Parameter | Type | Description |
---|---|---|
title | java.lang.String | The title. |
setTitle(LangAlt title)
public void setTitle(LangAlt title)
Adds Dublin Core title for different languages.
Parameters:
Parameter | Type | Description |
---|---|---|
title | LangAlt | Instance of LangAlt . |
setDescription(String desc)
public void setDescription(String desc)
Adds the description.
Parameters:
Parameter | Type | Description |
---|---|---|
desc | java.lang.String | The description. |
setDescription(LangAlt desc)
public void setDescription(LangAlt desc)
Adds the description.
Parameters:
Parameter | Type | Description |
---|---|---|
desc | LangAlt | The description. |
setSubject(String subject)
public void setSubject(String subject)
Adds the subject.
Parameters:
Parameter | Type | Description |
---|---|---|
subject | java.lang.String | The subject. |
setSubject(String[] subject)
public void setSubject(String[] subject)
Adds the subject.
Parameters:
Parameter | Type | Description |
---|---|---|
subject | java.lang.String[] | The subject. |
setAuthor(String author)
public void setAuthor(String author)
Adds the author.
Parameters:
Parameter | Type | Description |
---|---|---|
author | java.lang.String | The author. |
setAuthor(String[] author)
public void setAuthor(String[] author)
Adds the author.
Parameters:
Parameter | Type | Description |
---|---|---|
author | java.lang.String[] | The author. |
setPublisher(String publisher)
public void setPublisher(String publisher)
Adds the publisher.
Parameters:
Parameter | Type | Description |
---|---|---|
publisher | java.lang.String | The publisher. |
setPublisher(String[] publisher)
public void setPublisher(String[] publisher)
Adds the publisher.
Parameters:
Parameter | Type | Description |
---|---|---|
publisher | java.lang.String[] | The publisher. |