Skip to main content
Skip table of contents

IXmpSchemaRegistry

IXmpSchemaRegistry Public interface

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.xmp
  iTextSharp.xmp.IXmpSchemaRegistry[[IXmpSchemaRegistry]]
  class iTextSharp.xmp.IXmpSchemaRegistry interfaceStyle;
  end

Members

Methods

Public methods
ReturnsName
voidDeleteNamespace(string namespaceUri)
IXmpAliasInfoFindAlias(string qname)
Searches for registered aliases.
IXmpAliasInfo[]FindAliases(string aliasNs)
Collects all aliases that are contained in the provided namespace.
If nothing is found, an empty array is returned.
IDictionaryGetAliases()
stringGetNamespacePrefix(string namespaceUri)
stringGetNamespaceUri(string namespacePrefix)
IDictionaryGetNamespaces()
IDictionaryGetPrefixes()
stringRegisterNamespace(string namespaceUri, string suggestedPrefix)
IXmpAliasInfoResolveAlias(string aliasNs, string aliasProp)
Determines if a name is an alias, and what it is aliased to.

Details

Methods

RegisterNamespace
public string RegisterNamespace(string namespaceUri, string suggestedPrefix)
Arguments
TypeNameDescription
stringnamespaceUri
stringsuggestedPrefix
GetNamespacePrefix
public string GetNamespacePrefix(string namespaceUri)
Arguments
TypeNameDescription
stringnamespaceUri
GetNamespaceUri
public string GetNamespaceUri(string namespacePrefix)
Arguments
TypeNameDescription
stringnamespacePrefix
GetNamespaces
public IDictionary GetNamespaces()
Returns

Returns the registered prefix/namespace-pairs as map, where the keys are the namespaces and the values are the prefixes.

GetPrefixes
public IDictionary GetPrefixes()
Returns

Returns the registered namespace/prefix-pairs as map, where the keys are the prefixes and the values are the namespaces.

DeleteNamespace
public void DeleteNamespace(string namespaceUri)
Arguments
TypeNameDescription
stringnamespaceUri
ResolveAlias
public IXmpAliasInfo ResolveAlias(string aliasNs, string aliasProp)
Arguments
TypeNameDescription
stringaliasNsThe namespace URI of the alias. Must not be ...
stringaliasPropThe name of the alias. May be an arbitrary path expression
path, must not be ...
Summary

Determines if a name is an alias, and what it is aliased to.

Returns

Returns the

XMPAliasInfo

for the given alias namespace and property or

null
FindAliases
public IXmpAliasInfo FindAliases(string aliasNs)
Arguments
TypeNameDescription
stringaliasNsa schema namespace URI
Summary

Collects all aliases that are contained in the provided namespace. If nothing is found, an empty array is returned.

Returns

Returns all alias infos from aliases that are contained in the provided namespace.

FindAlias
public IXmpAliasInfo FindAlias(string qname)
Arguments
TypeNameDescription
stringqnamean XML conform qname
Summary

Searches for registered aliases.

Returns

Returns if an alias definition for the given qname to another schema and property is registered.

GetAliases
public IDictionary GetAliases()
Returns

Returns the registered aliases as map, where the key is the "qname" (prefix and name) and the value an

XMPAliasInfo

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.