DublinCorePackage

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

ConstructorDescription
DublinCorePackage()Initializes a new instance of the DublinCorePackage class.

Methods

MethodDescription
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:

ParameterTypeDescription
keyjava.lang.StringThe string representation of key that is identified with added value.
valuejava.lang.StringThe string value.

setTitle(String title)

public void setTitle(String title)

Adds Dublin Core title.

Parameters:

ParameterTypeDescription
titlejava.lang.StringThe title.

setTitle(LangAlt title)

public void setTitle(LangAlt title)

Adds Dublin Core title for different languages.

Parameters:

ParameterTypeDescription
titleLangAltInstance of LangAlt.

setDescription(String desc)

public void setDescription(String desc)

Adds the description.

Parameters:

ParameterTypeDescription
descjava.lang.StringThe description.

setDescription(LangAlt desc)

public void setDescription(LangAlt desc)

Adds the description.

Parameters:

ParameterTypeDescription
descLangAltThe description.

setSubject(String subject)

public void setSubject(String subject)

Adds the subject.

Parameters:

ParameterTypeDescription
subjectjava.lang.StringThe subject.

setSubject(String[] subject)

public void setSubject(String[] subject)

Adds the subject.

Parameters:

ParameterTypeDescription
subjectjava.lang.String[]The subject.

setAuthor(String author)

public void setAuthor(String author)

Adds the author.

Parameters:

ParameterTypeDescription
authorjava.lang.StringThe author.

setAuthor(String[] author)

public void setAuthor(String[] author)

Adds the author.

Parameters:

ParameterTypeDescription
authorjava.lang.String[]The author.

setPublisher(String publisher)

public void setPublisher(String publisher)

Adds the publisher.

Parameters:

ParameterTypeDescription
publisherjava.lang.StringThe publisher.

setPublisher(String[] publisher)

public void setPublisher(String[] publisher)

Adds the publisher.

Parameters:

ParameterTypeDescription
publisherjava.lang.String[]The publisher.