DublinCorePackage Class
Summary: Represents Dublic Core schema.
Module: aspose.psd.xmp.schemas.dublincore
Full Name: aspose.psd.xmp.schemas.dublincore.DublinCorePackage
Inheritance: IXmlValue, XmpPackage
Aspose.PSD Version: 24.12.0
Constructors
| Name | Description |
|---|---|
| DublinCorePackage() | Initializes a new instance of the DublinCorePackage class |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| namespace_uri | string | r | Gets the namespace URI. |
| prefix | string | r | Gets the prefix. |
| xml_namespace | string | r | Gets the XML namespace. |
Methods
| Name | Description |
|---|---|
| add_value(key, value) | Adds string property. |
| clear() | Clears this instance. |
| contains_key(key) | Determines whether the specified key contains 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_description(desc) | Adds the description. |
| set_description(desc) | Adds the description. |
| set_publisher(publisher) | Adds the publisher. |
| set_publisher(publisher) | Adds the publisher. |
| set_subject(subject) | Adds the subject. |
| set_subject(subject) | Adds the subject. |
| set_title(title) | Adds Dublin Core title. |
| set_title(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:
| Parameter | Type | Description |
|---|---|---|
| key | string | The string representation of key that is identified with added value. |
| value | string | The string value. |
Method: contains_key(key)
contains_key(key)
Determines whether the specified key contains key.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The key to be checked. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the specified key contains key. |
Method: get_xml_value()
get_xml_value()
Converts XMP value to the XML representation.
Returns
| Type | Description |
|---|---|
| string | Returns the XMP value converted to the XML representation. |
Method: remove(key)
remove(key)
Remove the value with the specified key.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The string representation of key that is identified with removed value. |
Returns
| Type | Description |
|---|---|
| bool | Returns true if the value with the specified key was removed. |
Method: set_author(author)
set_author(author)
Adds the author.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| author | string | The author. |
Method: set_author(author)
set_author(author)
Adds the author.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| author | string | The author. |
Method: set_description(desc)
set_description(desc)
Adds the description.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| desc | string | The description. |
Method: set_description(desc)
set_description(desc)
Adds the description.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| desc | LangAlt | The description. |
Method: set_publisher(publisher)
set_publisher(publisher)
Adds the publisher.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| publisher | string | The publisher. |
Method: set_publisher(publisher)
set_publisher(publisher)
Adds the publisher.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| publisher | string | The publisher. |
Method: set_subject(subject)
set_subject(subject)
Adds the subject.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| subject | string | The subject. |
Method: set_subject(subject)
set_subject(subject)
Adds the subject.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| subject | string | The subject. |
Method: set_title(title)
set_title(title)
Adds Dublin Core title.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| title | string | The title. |
Method: set_title(title)
set_title(title)
Adds Dublin Core title.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| title | LangAlt | The title. |
Method: set_value(key, value)
set_value(key, value)
Sets the value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The string representation of key that is identified with added value. |
| value | IXmlValue | The value to add to. |
Method: set_xmp_type_value(key, value)
set_xmp_type_value(key, value)
Sets the XMP type value.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| key | string | The string representation of key that is identified with set value. |
| value | XmpTypeBase | The value to set to. |