NamespaceContext

actual interface NamespaceContext

Interface that provides access to namespace queries

expect interface NamespaceContext

Interface that provides access to namespace queries

Inheritors

actual interface NamespaceContext

Interface that provides access to namespace queries

Functions

Link copied to clipboard

Convert a prefixed element name (CNAME) to a qname. If there is no prefix, the default prefix is used.

Link copied to clipboard
actual abstract fun getNamespaceURI(prefix: String): String?

Return the namespace uri for a given prefix. Note that some prefixes are predefined.

expect abstract fun getNamespaceURI(prefix: String): String?

Return the namespace uri for a given prefix. Note that some prefixes are predefined.

actual abstract fun getNamespaceURI(prefix: String): String?

Return the namespace uri for a given prefix. Note that some prefixes are predefined.

Link copied to clipboard
actual abstract fun getPrefix(namespaceURI: String): String?

Return a prefix for a given namespace uri. If there are multiple candidates the returned prefix is implementation defined.

expect abstract fun getPrefix(namespaceURI: String): String?

Return a prefix for a given namespace uri. If there are multiple candidates the returned prefix is implementation defined.

actual abstract fun getPrefix(namespaceURI: String): String?

Return a prefix for a given namespace uri. If there are multiple candidates the returned prefix is implementation defined.

Link copied to clipboard
actual abstract fun getPrefixes(namespaceURI: String): Iterator<String>

Return an iterator that provides all prefixes for the given namespace.

expect abstract fun getPrefixes(namespaceURI: String): Iterator<String>

Return an iterator that provides all prefixes for the given namespace.

actual abstract fun getPrefixes(namespaceURI: String): Iterator<String>

Return an iterator that provides all prefixes for the given namespace.