scala.xml
class NamespaceBinding

[source: `scala/xml/NamespaceBinding.scala`]

@serializable
`` `class` NamespaceBinding(`val` prefix : String, `val` uri : String, `val` parent : NamespaceBinding)
  `extends` AnyRef

  The class `NamespaceBinding` represents namespace bindings and scopes. The binding for the default namespace is treated as a null prefix. the absent namespace is represented with the null uri. Neither prefix nor uri may be empty, which is not checked.

Author
  Burak Emir
Version
  1.0

Direct Known Subclasses:
  TopScope

Method Summary
`def` | getPrefix (_uri : String) : String Returns some prefix that is mapped to the prefix.
`def` | getURI (_prefix : String) : String
`def` | toString (stop : NamespaceBinding) : String
`def` | toString (sb : StringBuilder, stop : NamespaceBinding) : Unit
`override def` | toString : String

Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`` `def` getURI(_prefix : String) : String

`` `def` getPrefix(_uri : String) : String

  Returns some prefix that is mapped to the prefix.

Parameters
  `_uri -`
Returns

`override` `def` toString : String

`` `def` toString(stop : NamespaceBinding) : String

`` `def` toString(sb : StringBuilder, stop : NamespaceBinding) : Unit