DublinCorePackage Class

Summary: Represents Dublic Core schema.

Module: aspose.imaging.xmp.schemas.dublincore

Full Name: aspose.imaging.xmp.schemas.dublincore.DublinCorePackage

Inheritance: IXmlValue, XmpPackage

Aspose.Imaging Version: 24.5.0

Constructors

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

Properties

NameTypeAccessDescription
namespace_uristringrGets the namespace URI.
prefixstringrGets the prefix.
xml_namespacestringrGets the XML namespace.

Methods

NameDescription
add_value(key, value)Adds string property.
clear()Clears this instance.
contains_key(key)Determines whether the specified key contains key.
get_prop_value(key)Gets the object with the specified key.
get_xml_value()Converts XMP value to the XML representation.
remove(key)Remove the value with the specified key.
set_author(author)Adds the author.
set_author(author)Adds the author.
set_author_array(author)Adds the author.
set_description(desc)Adds the description.
set_description(desc)Adds the description.
set_description_lang_alt(desc)Adds the description.
set_description_str(desc)Adds the description.
set_prop_value(key, value)Gets or sets the object with the specified key.
set_publisher(publisher)Adds the publisher.
set_publisher(publisher)Adds the publisher.
set_publisher_array(publisher)Adds the publisher.
set_subject(subject)Adds the subject.
set_subject(subject)Adds the subject.
set_subject_array(subject)Adds the subject.
set_title(title)Adds Dublin Core title.
set_title(title)Adds Dublin Core title.
set_title_lang_alt(title)Adds Dublin Core title for different languages.
set_title_str(title)Adds Dublin Core title.
set_value(key, value)Sets the value.
set_xmp_type_value(key, value)Sets the XMP type value.

Constructor: DublinCorePackage()

 DublinCorePackage() 

Initializes a new instance of the DublinCorePackage class.

Method: add_value(key, value)

 add_value(key, value) 

Adds string property.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with added value.
valuestringThe string value.

Method: contains_key(key)

 contains_key(key) 

Determines whether the specified key contains key.

Parameters:

ParameterTypeDescription
keystringThe key to be checked.

Returns

TypeDescription
boolReturns true if the specified key contains key.

Method: get_prop_value(key)

 get_prop_value(key) 

Gets the object with the specified key.

Parameters:

ParameterTypeDescription
keystringThe key that identifies value.

Returns

TypeDescription
objectReturns the object with the specified key.

Method: get_xml_value()

 get_xml_value() 

Converts XMP value to the XML representation.

Returns

TypeDescription
stringReturns the XMP value converted to the XML representation.

Method: remove(key)

 remove(key) 

Remove the value with the specified key.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with removed value.

Returns

TypeDescription
boolReturns true if the value with the specified key was removed.

Method: set_author(author)

 set_author(author) 

Adds the author.

Parameters:

ParameterTypeDescription
authorstringThe author.

Method: set_author(author)

 set_author(author) 

Adds the author.

Parameters:

ParameterTypeDescription
authorstringThe author.

Method: set_author_array(author)

 set_author_array(author) 

Adds the author.

Parameters:

ParameterTypeDescription
authorstringThe author.

Method: set_description(desc)

 set_description(desc) 

Adds the description.

Parameters:

ParameterTypeDescription
descstringThe description.

Method: set_description(desc)

 set_description(desc) 

Adds the description.

Parameters:

ParameterTypeDescription
descLangAltThe description.

Method: set_description_lang_alt(desc)

 set_description_lang_alt(desc) 

Adds the description.

Parameters:

ParameterTypeDescription
descLangAltThe description.

Method: set_description_str(desc)

 set_description_str(desc) 

Adds the description.

Parameters:

ParameterTypeDescription
descstringThe description.

Method: set_prop_value(key, value)

 set_prop_value(key, value) 

Gets or sets the object with the specified key.

Parameters:

ParameterTypeDescription
keystringThe key that identifies value.
valueobjectThe object with the specified key.

Method: set_publisher(publisher)

 set_publisher(publisher) 

Adds the publisher.

Parameters:

ParameterTypeDescription
publisherstringThe publisher.

Method: set_publisher(publisher)

 set_publisher(publisher) 

Adds the publisher.

Parameters:

ParameterTypeDescription
publisherstringThe publisher.

Method: set_publisher_array(publisher)

 set_publisher_array(publisher) 

Adds the publisher.

Parameters:

ParameterTypeDescription
publisherstringThe publisher.

Method: set_subject(subject)

 set_subject(subject) 

Adds the subject.

Parameters:

ParameterTypeDescription
subjectstringThe subject.

Method: set_subject(subject)

 set_subject(subject) 

Adds the subject.

Parameters:

ParameterTypeDescription
subjectstringThe subject.

Method: set_subject_array(subject)

 set_subject_array(subject) 

Adds the subject.

Parameters:

ParameterTypeDescription
subjectstringThe subject.

Method: set_title(title)

 set_title(title) 

Adds Dublin Core title.

Parameters:

ParameterTypeDescription
titlestringThe title.

Method: set_title(title)

 set_title(title) 

Adds Dublin Core title.

Parameters:

ParameterTypeDescription
titleLangAltThe title.

Method: set_title_lang_alt(title)

 set_title_lang_alt(title) 

Adds Dublin Core title for different languages.

Parameters:

ParameterTypeDescription
titleLangAltInstance of LangAlt.

Method: set_title_str(title)

 set_title_str(title) 

Adds Dublin Core title.

Parameters:

ParameterTypeDescription
titlestringThe title.

Method: set_value(key, value)

 set_value(key, value) 

Sets the value.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with added value.
valueIXmlValueThe value to add to.

Method: set_xmp_type_value(key, value)

 set_xmp_type_value(key, value) 

Sets the XMP type value.

Parameters:

ParameterTypeDescription
keystringThe string representation of key that is identified with set value.
valueXmpTypeBaseThe value to set to.