CombiningNamespaceContext

Deprecated

This type is really only for internal use. It will be moved to a better location

A namespace context that combines two namespace contexts. Resolution will first attempt to use the primary context, The secondary namespace is a fallback.

Constructors

Link copied to clipboard
constructor(primary: IterableNamespaceContext, secondary: IterableNamespaceContext)

Properties

Link copied to clipboard

The context to first use for looking up

Link copied to clipboard

The fallback context if the name cannot be resolved on the primary.

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
open override fun freeze(): IterableNamespaceContext
Link copied to clipboard
open override fun getNamespaceURI(prefix: String): String?
Link copied to clipboard
open override fun getPrefix(namespaceURI: String): String?
Link copied to clipboard
open override fun getPrefixes(namespaceURI: String): Iterator<String>
Link copied to clipboard
open operator override fun iterator(): Iterator<Namespace>
Link copied to clipboard
open operator override fun plus(secondary: IterableNamespaceContext): IterableNamespaceContext
Link copied to clipboard
inline fun NamespaceContext.prefixesFor(namespaceURI: String): Iterator<String>