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()
Source
NamespaceBinding.scala
Version

1.0

Linear Supertypes
Serializable, java.io.Serializable, Product, Equality, Equals, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NamespaceBinding
  2. Serializable
  3. Serializable
  4. Product
  5. Equality
  6. Equals
  7. AnyRef
  8. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to StringAdd[NamespaceBinding] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (NamespaceBinding, B)

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to ArrowAssoc[NamespaceBinding] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def basisForHashCode: Seq[Any]

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

  11. def buildString(stop: NamespaceBinding): String

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

    returns

    true if this instance can possibly equal that, otherwise false

    Definition Classes
    NamespaceBindingEqualityEquals
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def ensuring(cond: (NamespaceBinding) ⇒ Boolean, msg: ⇒ Any): NamespaceBinding

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to Ensuring[NamespaceBinding] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (NamespaceBinding) ⇒ Boolean): NamespaceBinding

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to Ensuring[NamespaceBinding] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): NamespaceBinding

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to Ensuring[NamespaceBinding] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): NamespaceBinding

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to Ensuring[NamespaceBinding] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean

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

    The universal equality method defined in AnyRef.

    The universal equality method defined in AnyRef.

    Definition Classes
    EqualityEquals → AnyRef → Any
  20. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  21. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to StringFormat[NamespaceBinding] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  23. 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.

  24. def getURI(_prefix: String): String

  25. 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
  26. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. val parent: NamespaceBinding

  31. val prefix: String

  32. def strict_!=(other: Equality): Boolean

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

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

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    NamespaceBinding → AnyRef → Any
  36. val uri: String

  37. final def wait(): Unit

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

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

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

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

    Definition Classes
    Equality
  42. def [B](y: B): (NamespaceBinding, B)

    Implicit information
    This member is added by an implicit conversion from NamespaceBinding to ArrowAssoc[NamespaceBinding] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equality

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from NamespaceBinding to StringAdd[NamespaceBinding]

Inherited by implicit conversion StringFormat from NamespaceBinding to StringFormat[NamespaceBinding]

Inherited by implicit conversion Ensuring from NamespaceBinding to Ensuring[NamespaceBinding]

Inherited by implicit conversion ArrowAssoc from NamespaceBinding to ArrowAssoc[NamespaceBinding]

Ungrouped