in scala/xml
class NamespaceBinding

class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding)
extends Object
with ScalaObject
Implementing classes or objects:
object TopScope

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

Field Summary
  val parent: NamespaceBinding
  val prefix: String
  val uri: String

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

Methods inherited from java/lang/Object-class
clone, eq, equals, finalize, getClass, hashCode, ne, notify, notifyAll, synchronized, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/ScalaObject-class
getScalaType

Field Detail

prefix

  val prefix: String

uri

  val uri: String

parent

  val parent: NamespaceBinding
Method Detail

getURI

  def getURI(_prefix: String): String

getPrefix

  def getPrefix(_uri: String): String
Returns some prefix that is mapped to the prefix.
Parameters:
_uri -
Returns:

toString

  override def toString(): String

toString

  def toString(stop: NamespaceBinding): String

toString

  def toString(sb: StringBuffer, stop: NamespaceBinding): Unit