Class XMPSchemaRegistryImpl
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
- See Also
FindAliases(string)
public XMPAliasInfo[] FindAliases(string aliasNS)
Parameters
aliasNS
string
Returns
- See Also
GetAliases()
public IDictionary GetAliases()
Returns
- See Also
GetNamespacePrefix(string)
public string GetNamespacePrefix(string namespaceURI)
Parameters
namespaceURI
string
Returns
- See Also
GetNamespaceURI(string)
public string GetNamespaceURI(string namespacePrefix)
Parameters
namespacePrefix
string
Returns
- See Also
GetNamespaces()
public IDictionary GetNamespaces()
Returns
- See Also
GetPrefixes()
public IDictionary GetPrefixes()
Returns
- See Also
RegisterNamespace(string, string)
public string RegisterNamespace(string namespaceURI, string suggestedPrefix)
Parameters
Returns
- See Also
ResolveAlias(string, string)
public XMPAliasInfo ResolveAlias(string aliasNS, string aliasProp)
Parameters
Returns
- See Also