SimpleNamespaceContext

A simple namespace context that stores namespaces in a single array Created by pdvrieze on 24/08/15.

Constructors

Link copied to clipboard
constructor()
constructor(prefixMap: Map<out CharSequence, CharSequence>)
constructor(prefixes: Array<out CharSequence>, namespaces: Array<out CharSequence>)
constructor(prefix: CharSequence, namespace: CharSequence)
constructor(namespaces: Collection<Namespace>)
constructor(namespaces: List<Namespace>)
constructor(namespaces: Iterable<Namespace>)
constructor(original: SimpleNamespaceContext)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

Properties

Link copied to clipboard
val buffer: Array<out String>
Link copied to clipboard
Link copied to clipboard
@get:JvmName(name = "size")
val size: Int

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

Combine this context with the additional context. The prefixes already in this context prevail over the added ones.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun freeze(): SimpleNamespaceContext
Link copied to clipboard
open override fun getNamespaceURI(prefix: String): String?
Link copied to clipboard
fun getPrefix(index: Int): String
open override fun getPrefix(namespaceURI: String): String?
Link copied to clipboard
open override fun getPrefixes(namespaceURI: String): Iterator<String>
Link copied to clipboard

Get all prefixes for this particular namespace in the namespace context.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open operator override fun iterator(): Iterator<Namespace>
Link copied to clipboard