scala.xml
class NamespaceBinding

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

@serializable
`` `class` NamespaceBinding(`val` prefix : java.lang.String, `val` uri : java.lang.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 : java.lang.String) : java.lang.String Returns some prefix that is mapped to the prefix.
`def` | getURI (_prefix : java.lang.String) : java.lang.String
`override def` | toString : java.lang.String
`def` | toString (sb : StringBuilder, stop : NamespaceBinding) : Unit
`def` | toString (stop : NamespaceBinding) : java.lang.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 : java.lang.String) : java.lang.String

`` `def` getPrefix(_uri : java.lang.String) : java.lang.String

  Returns some prefix that is mapped to the prefix.

Parameters
  `_uri -`
Returns

`override` `def` toString : java.lang.String

`` `def` toString(stop : NamespaceBinding) : java.lang.String

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