Packages

c

scala.xml

NamespaceBinding

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()
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)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def basisForHashCode: collection.Seq[Any]
    Definition Classes
    NamespaceBindingEquality
  6. def buildString(sb: StringBuilder, stop: NamespaceBinding): Unit
  7. def buildString(stop: NamespaceBinding): String
  8. def canEqual(other: Any): Boolean

    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
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(other: Any): Boolean
    Definition Classes
    Equality → Equals → AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getPrefix(_uri: String): String

    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
  16. 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.

    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
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. val parent: NamespaceBinding
  22. val prefix: String
  23. def strict_!=(other: Equality): Boolean
    Definition Classes
    Equality
  24. def strict_==(other: Equality): Boolean
    Definition Classes
    NamespaceBindingEquality
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    NamespaceBinding → AnyRef → Any
  27. val uri: String
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  31. final def xml_!=(other: Any): Boolean
    Definition Classes
    Equality
  32. final def xml_==(other: Any): Boolean
    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