XmpRdfRoot فئة
محتويات
[
يخفي
]Summary: Represents rdf:RDF element.
A single XMP packet shall be serialized using a single rdf:RDF XML element. The rdf:RDF element content shall consist of only zero or more rdf:Description elements.
Module: aspose.imaging.xmp
Full Name: aspose.imaging.xmp.XmpRdfRoot
Inheritance: IXmlValue, XmpElementBase
Constructors
| Name | الوصف |
|---|---|
| XmpRdfRoot() | يُنشئ مثيلاً جديداً من الفئة XmpRdfRoot. |
Methods
| Name | الوصف |
|---|---|
| add_attribute(attribute, value) | يضيف السمة. |
| clear_attributes() | يزيل جميع السمات. |
| get_attribute(attribute) | يحصل على السمة. |
| get_namespace_uri(prefix) | يحصل على URI للمساحة الاسمية بواسطة بادئة محددة. قد تبدأ البادئة بدون xmlns. |
| get_xml_value() | يحوّل قيمة xmp إلى تمثيل xml. |
| register_namespace_uri(prefix, namespace_uri) | يضيف URI للمساحة الاسمية بواسطة البادئة. قد تبدأ البادئة بدون xmlns. |
Constructor: XmpRdfRoot()
XmpRdfRoot()
يُنشئ مثيلاً جديداً من الفئة XmpRdfRoot.
Method: add_attribute(attribute, value)
add_attribute(attribute, value)
يضيف السمة.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| السمة | string | السمة. |
| القيمة | string | القيمة. |
Method: get_attribute(attribute)
get_attribute(attribute)
يحصل على السمة.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| السمة | string | السمة. |
Returns
| نوع | الوصف |
|---|---|
| string | يرجع السمة للاسم المحدد للخاصية. |
Method: get_namespace_uri(prefix)
get_namespace_uri(prefix)
يحصل على URI للمساحة الاسمية بواسطة بادئة محددة. قد تبدأ البادئة بدون xmlns.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| prefix | string | البادئة. |
Returns
| نوع | الوصف |
|---|---|
| string | يعيد URI لمخطط الحزمة. |
Method: get_xml_value()
get_xml_value()
يحوّل قيمة xmp إلى تمثيل xml.
Returns
| نوع | الوصف |
|---|---|
| string | يعيد قيمة XMP محوّلة إلى سلسلة XML. |
Method: register_namespace_uri(prefix, namespace_uri)
register_namespace_uri(prefix, namespace_uri)
يضيف URI للمساحة الاسمية بواسطة البادئة. قد تبدأ البادئة بدون xmlns.
Parameters:
| معامل | نوع | الوصف |
|---|---|---|
| prefix | string | البادئة. |
| namespace_uri | string | مسار مخطط الحزمة URI. |