NamespaceHolder

A utility class that helps with maintaining a namespace context in a parser. Created by pdvrieze on 16/11/15.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var depth: Int
Link copied to clipboard

The total amount of namespaces in this holder

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun clear()
Link copied to clipboard
fun decDepth()
Link copied to clipboard
Link copied to clipboard
fun getPrefix(namespaceUri: CharSequence): String?
Link copied to clipboard
fun incDepth()
Link copied to clipboard
open operator override fun iterator(): Iterator<Namespace>
Link copied to clipboard

Look up a namespace uri declared at the current depth only

Link copied to clipboard