XmpMediaManagementPackage Class

Summary: Represents XMP Media Management namespace.

Module: aspose.psd.xmp.schemas.xmpmm

Full Name: aspose.psd.xmp.schemas.xmpmm.XmpMediaManagementPackage

Inheritance: IXmlValue, XmpPackage

Aspose.PSD Version: 24.9.0

Constructors

NameDescription
XmpMediaManagementPackage()Initializes a new instance of the XmpMediaManagementPackage 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_xml_value()Converts XMP value to the XML representation.
remove(key)Remove the value with the specified key.
set_derived_from(resource_ref)Sets the derived from.
set_document_id(guid)Sets the document identifier.
set_document_id(guid)Sets the document identifier.
set_instance_id(guid)Sets instance id.
set_instance_id(guid)Sets instance id.
set_original_document_id(guid)Sets the original document id.
set_original_document_id(guid)Sets the original document id.
set_value(key, value)Sets the value.
set_xmp_type_value(key, value)Sets the XMP type value.

Constructor: XmpMediaManagementPackage()

 XmpMediaManagementPackage() 

Initializes a new instance of the XmpMediaManagementPackage 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_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_derived_from(resource_ref)

 set_derived_from(resource_ref) 

Sets the derived from.

Parameters:

ParameterTypeDescription
resource_refResourceRefThe resource reference.

Method: set_document_id(guid)

 set_document_id(guid) 

Sets the document identifier.

Parameters:

ParameterTypeDescription
guidGuidThe unique identifier.

Method: set_document_id(guid)

 set_document_id(guid) 

Sets the document identifier.

Parameters:

ParameterTypeDescription
guidstringThe unique identifier.

Method: set_instance_id(guid)

 set_instance_id(guid) 

Sets instance id.

Parameters:

ParameterTypeDescription
guidGuidThe unique identifier.

Method: set_instance_id(guid)

 set_instance_id(guid) 

Sets instance id.

Parameters:

ParameterTypeDescription
guidstringThe unique identifier.

Method: set_original_document_id(guid)

 set_original_document_id(guid) 

Sets the original document id.

Parameters:

ParameterTypeDescription
guidGuidThe unique identifier.

Method: set_original_document_id(guid)

 set_original_document_id(guid) 

Sets the original document id.

Parameters:

ParameterTypeDescription
guidstringThe unique identifier.

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.