XmpLangAlt class
Leave feedback
On this page
Represents XMP Language Alternative.
An alternative array of simple text items. Language alternatives facilitate the selection of a simple text item based on a desired language. Each array item shall have an xml:lang qualifier. Each xml:lang value shall be unique among the items.
Inheritance: XmpLangAlt →
XmpArray →
XmpValueBase →
PropertyValue
The XmpLangAlt type exposes the following members:
| Constructor | Description |
|---|---|
__init__(self, default_value) |
Initializes a new instance of the XmpLangAlt class. |
| Property | Description |
|---|---|
| type | Gets the MetadataPropertyType. |
| raw_value | Gets the raw value. |
| array_type | Gets the type of the XMP array. |
| languages | Gets an array of all languages registered in the instance of XmpLangAlt. |
| Method | Description |
|---|---|
from_address(, array, type) |
Creates an XmpArray instance form a string array. |
from_address(, array, type) |
Creates an XmpArray instance form an integer array. |
from_address(, array, type) |
Creates an XmpArray instance form a date array. |
from_address(, array, type) |
Creates an XmpArray instance form a double array. |
accept_value(self, value_acceptor) |
Extracts the property value using a custom ValueAcceptor. |
get_xmp_representation(self) |
Converts XMP value to the xml representation. |
contains(self, language) |
Determines whether the XmpLangAlt contains the specified language. |
- module
groupdocs.metadata.standards.xmp - class
MetadataPropertyType - class
PropertyValue - class
ValueAcceptor - class
XmpArray - class
XmpLangAlt - class
XmpValueBase
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.