Class

scala.xml

NamespaceBinding

Related Doc: package xml

Permalink

case class NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding) extends Equality with Product with Serializable

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.

Annotations
@SerialVersionUID()
Version

1.0

Linear Supertypes
Serializable, java.io.Serializable, Product, Equality, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NamespaceBinding
  2. Serializable
  3. Serializable
  4. Product
  5. Equality
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NamespaceBinding(prefix: String, uri: String, parent: NamespaceBinding)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def basisForHashCode: Seq[Any]

    Permalink
    Definition Classes
    NamespaceBindingEquality
  6. def buildString(sb: StringBuilder, stop: NamespaceBinding): Unit

    Permalink
  7. def buildString(stop: NamespaceBinding): String

    Permalink
  8. def canEqual(other: Any): Boolean

    Permalink

    We insist we're only equal to other xml.Equality implementors, which heads off a lot of inconsistency up front.

    We insist we're only equal to other xml.Equality implementors, which heads off a lot of inconsistency up front.

    Definition Classes
    NamespaceBindingEquality → Equals
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean

    Permalink
    Definition Classes
    Equality → Equals → AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getPrefix(_uri: String): String

    Permalink

    Returns some prefix that is mapped to the URI.

    Returns some prefix that is mapped to the URI.

    _uri

    the input URI

    returns

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

  15. def getURI(_prefix: String): String

    Permalink
  16. def hashCode(): Int

    Permalink

    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.

    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 → AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val parent: NamespaceBinding

    Permalink
  22. val prefix: String

    Permalink
  23. def strict_!=(other: Equality): Boolean

    Permalink
    Definition Classes
    Equality
  24. def strict_==(other: Equality): Boolean

    Permalink
    Definition Classes
    NamespaceBindingEquality
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toString(): String

    Permalink
    Definition Classes
    NamespaceBinding → AnyRef → Any
  27. val uri: String

    Permalink
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def xml_!=(other: Any): Boolean

    Permalink
    Definition Classes
    Equality
  32. final def xml_==(other: Any): Boolean

    Permalink
    Definition Classes
    Equality

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equality

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped