Table of Contents

Class XMPSchemaRegistryImpl

Namespace
iText.Kernel.XMP.Impl
Assembly
itext.kernel.dll

The schema registry handles the namespaces, aliases and global options for the XMP Toolkit.

public sealed class XMPSchemaRegistryImpl : XMPConst, XMPSchemaRegistry
Inheritance
XMPSchemaRegistryImpl
Implements
Inherited Members

Remarks

The schema registry handles the namespaces, aliases and global options for the XMP Toolkit. There is only one single instance used by the toolkit.

Constructors

XMPSchemaRegistryImpl()

Performs the initialisation of the registry with the default namespaces, aliases and global options.

public XMPSchemaRegistryImpl()

Methods

DeleteNamespace(string)

public void DeleteNamespace(string namespaceURI)

Parameters

namespaceURI string
See Also

FindAlias(string)

public XMPAliasInfo FindAlias(string qname)

Parameters

qname string

Returns

XMPAliasInfo
See Also

FindAliases(string)

public XMPAliasInfo[] FindAliases(string aliasNS)

Parameters

aliasNS string

Returns

XMPAliasInfo[]
See Also

GetAliases()

public IDictionary GetAliases()

Returns

IDictionary
See Also

GetNamespacePrefix(string)

public string GetNamespacePrefix(string namespaceURI)

Parameters

namespaceURI string

Returns

string
See Also

GetNamespaceURI(string)

public string GetNamespaceURI(string namespacePrefix)

Parameters

namespacePrefix string

Returns

string
See Also

GetNamespaces()

public IDictionary GetNamespaces()

Returns

IDictionary
See Also

GetPrefixes()

public IDictionary GetPrefixes()

Returns

IDictionary
See Also

RegisterNamespace(string, string)

public string RegisterNamespace(string namespaceURI, string suggestedPrefix)

Parameters

namespaceURI string
suggestedPrefix string

Returns

string
See Also

ResolveAlias(string, string)

public XMPAliasInfo ResolveAlias(string aliasNS, string aliasProp)

Parameters

aliasNS string
aliasProp string

Returns

XMPAliasInfo
See Also