Skip to main content

XmpPdfAExtensions Class

Provides access to PDF/A extension schemas in XMP metadata.

Declaration

public class XmpPdfAExtensions extends JavaObject

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
com.devexpress.system.JavaObject
XmpPdfAExtensions

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

true if the extension schema exists; otherwise, false.

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 null if the schema is not found.

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 null if the property is not found.

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

true if the extension schema is removed successfully; otherwise, false.