iText 5

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

Returns

Name

void

DeleteNamespace

(string namespaceUri)

IXmpAliasInfo

FindAlias

(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.

IDictionary

GetAliases

()

string

GetNamespacePrefix

(string namespaceUri)

string

GetNamespaceUri

(string namespacePrefix)

IDictionary

GetNamespaces

()

IDictionary

GetPrefixes

()

string

RegisterNamespace

(string namespaceUri, string suggestedPrefix)

IXmpAliasInfo

ResolveAlias

(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

Type

Name

Description

string

namespaceUri

string

suggestedPrefix

GetNamespacePrefix

public string GetNamespacePrefix(string namespaceUri)

Arguments

Type

Name

Description

string

namespaceUri

GetNamespaceUri

public string GetNamespaceUri(string namespacePrefix)

Arguments

Type

Name

Description

string

namespacePrefix

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

Type

Name

Description

string

namespaceUri

ResolveAlias

public IXmpAliasInfo ResolveAlias(string aliasNs, string aliasProp)

Arguments

Type

Name

Description

string

aliasNs

The namespace URI of the alias. Must not be ...

string

aliasProp

The 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

Type

Name

Description

string

aliasNs

a 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

Type

Name

Description

string

qname

an 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