open class SimpleNamespaceContext : NamespaceContext
Simple javax.xml.namespace.NamespaceContext implementation. Follows the standard NamespaceContext contract, and is loadable via a java.util.Map or java.util.Properties object
Author
Arjen Poutsma
Author
Juergen Hoeller
Since
3.0
SimpleNamespaceContext()
Simple |
open fun bindDefaultNamespaceUri(namespaceUri: String): Unit
Bind the given namespace as default namespace. |
|
open fun bindNamespaceUri(prefix: String, namespaceUri: String): Unit
Bind the given prefix to the given namespace. |
|
open fun clear(): Unit
Remove all declared prefixes. |
|
open fun getBoundPrefixes(): MutableIterator<String>
Return all declared prefixes. |
|
open fun getNamespaceURI(prefix: String): String |
|
open fun getPrefix(namespaceUri: String): String |
|
open fun getPrefixes(namespaceUri: String): MutableIterator<String> |
|
open fun removeBinding(prefix: String): Unit
Remove the given prefix from this context. |
|
open fun setBindings(bindings: MutableMap<String, String>): Unit
Set the bindings for this namespace context. The supplied map must consist of string key value pairs. |