XmpPdfAExtensionSchema
Overview
XmpPdfAExtensionSchema is a class in Aspose.PDF FOSS for .NET.
One PDF/A XMP-extension schema, holding a description and its associated XmpPdfAExtensionObjects.
This class provides 7 methods for working with XmpPdfAExtensionSchema objects in .NET programs.
Available methods include: Add, Contains, GetProperty, GetSchemaXml, GetValuesXml, Remove, XmpPdfAExtensionSchema.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: DefaultExtensionNamespacePrefix, DefaultExtensionNamespaceUri, DefaultFieldNamespacePrefix, DefaultFieldNamespaceUri, DefaultPropertyNamespacePrefix, DefaultPropertyNamespaceUri, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Description | XmpPdfAExtensionSchemaDescription | Read | Schema description. |
Objects | List<XmpPdfAExtensionObject> | Read | Extension objects belonging to this schema. |
DefaultExtensionNamespacePrefix | string | Read | Default prefix used for the extension namespace declaration. |
DefaultExtensionNamespaceUri | string | Read | Default URI used for the extension namespace declaration. |
DefaultFieldNamespacePrefix | string | Read | Default prefix used for the extension-field namespace declaration. |
DefaultFieldNamespaceUri | string | Read | Default URI used for the extension-field namespace declaration. |
DefaultPropertyNamespacePrefix | string | Read | Default prefix used for the extension-property namespace declaration. |
DefaultPropertyNamespaceUri | string | Read | Default URI used for the extension-property namespace declaration. |
DefaultSchemaNamespacePrefix | string | Read | Default prefix used for the extension-schema namespace declaration. |
DefaultSchemaNamespaceUri | string | Read | Default URI used for the extension-schema namespace declaration. |
DefaultValueNamespaceUri | string | Read | Default URI used for value-type values. |
DefaultValueTypeNamespacePrefix | string | Read | Default prefix used for value-type declarations. |
RdfNamespaceURI | string | Read | URI for the RDF namespace used to wrap PDF/A extension metadata. |
RdfPrefix | string | Read | Prefix conventionally bound to RdfNamespaceURI. |
Methods
| Signature | Description |
|---|---|
XmpPdfAExtensionSchema(description: XmpPdfAExtensionSchemaDescription) | Construct a schema with the given description. |
Add(obj: XmpPdfAExtensionObject) | Append obj to Objects. |
Contains(obj: XmpPdfAExtensionObject) | Whether Objects contains obj. |
Remove(obj: XmpPdfAExtensionObject) | Remove obj from Objects if present. |
GetProperty(name: string) | Locate a property by name; returns null when none match. |
GetSchemaXml(xmlDocument: XmlDocument) | Render the schema header (description + namespaces) as XML. |
GetValuesXml(xmlDocument: XmlDocument, rootElement: XmlElement) | Render the schema values (property/field entries) into rootElement. |