NamespaceBinding

@SerialVersionUID(0.-(2518644165573446725L)) case class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding) extends Equality

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.

trait Serializable
trait Product
trait Equality
trait Equals
class Object
trait Matchable
class Any
object TopScope

Value members

Concrete methods

def basisForHashCode: Seq[Any]
def buildString(stop: NamespaceBinding): String
def buildString(sb: StringBuilder, stop: NamespaceBinding): Unit
override def canEqual(other: Any): Boolean
Definition Classes
Equality -> Equals
def getPrefix(_uri: String): String

Returns some prefix that is mapped to the URI.

Returns some prefix that is mapped to the URI.

Value Params
_uri

the input URI

Returns

the prefix that is mapped to the input URI, or null if no prefix is mapped to the URI.

def getURI(_prefix: String): String
override def strict_==(other: Equality): Boolean
Definition Classes
override def toString(): String
Definition Classes
Any

Inherited methods

override def equals(other: Any): Boolean
Definition Classes
Equality -> Equals -> Any
Inherited from
Equality
override def hashCode(): Int

It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals. However WE at least can pretend they are final since clearly individual classes cannot be trusted to maintain a semblance of order.

It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals. However WE at least can pretend they are final since clearly individual classes cannot be trusted to maintain a semblance of order.

Definition Classes
Equality -> Any
Inherited from
Equality
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def strict_!=(other: Equality): Boolean
Inherited from
Equality
final def xml_!=(other: Any): Boolean
Inherited from
Equality
final def xml_==(other: Any): Boolean
Inherited from
Equality