XmpPdfAExtensions Class
Provides access to PDF/A extension schemas in XMP metadata.
Declaration
public class XmpPdfAExtensions extends JavaObject
Inherited Members
Inheritance
Methods
contains(String namespaceUri) Method
Returns whether XMP metadata contains a PDF/A extension schema with the specified namespace URI.
Declaration
public boolean contains(String namespaceUri)
Parameters
| Name | Type | Description |
|---|---|---|
| namespaceUri | String | The namespace URI of the extension schema. |
Returns
| Type | Description |
|---|---|
| boolean |
|
getExtension(String namespaceUri) Method
Returns the PDF/A extension schema with the specified namespace URI.
Declaration
public XmpPdfAExtensionDescriptor getExtension(String namespaceUri)
Parameters
| Name | Type | Description |
|---|---|---|
| namespaceUri | String | The namespace URI of the extension schema. |
Returns
| Type | Description |
|---|---|
| XmpPdfAExtensionDescriptor | The extension schema descriptor, or |
getProperty(String namespaceUri, String propertyName) Method
Returns the property with the specified name from a PDF/A extension schema.
Declaration
public XmpPdfAExtensionProperty getProperty(String namespaceUri, String propertyName)
Parameters
| Name | Type | Description |
|---|---|---|
| namespaceUri | String | The namespace URI of the extension schema. |
| propertyName | String | The property name. |
Returns
| Type | Description |
|---|---|
| XmpPdfAExtensionProperty | The property definition, or |
getRegisteredExtensions() Method
Returns the list of registered PDF/A extension schemas.
Declaration
public List<XmpPdfAExtensionDescriptor> getRegisteredExtensions()
Returns
| Type | Description |
|---|---|
| java.util.List<XmpPdfAExtensionDescriptor> | The list of registered PDF/A extension schema descriptors. |
register(XmpPdfAExtensionDescriptor descriptor) Method
Registers a PDF/A extension schema in XMP metadata.
Declaration
public void register(XmpPdfAExtensionDescriptor descriptor)
Parameters
| Name | Type | Description |
|---|---|---|
| descriptor | XmpPdfAExtensionDescriptor | The PDF/A extension schema descriptor. |
remove(String namespaceUri) Method
Removes a PDF/A extension schema with the specified namespace URI from XMP metadata.
Declaration
public boolean remove(String namespaceUri)
Parameters
| Name | Type | Description |
|---|---|---|
| namespaceUri | String | The namespace URI of the extension schema. |
Returns
| Type | Description |
|---|---|
| boolean |
|