com.codecommit.antixml

Attributes

class Attributes extends Map[QName, String] with MapLike[QName, String, Attributes]

A special implementation of scala.collection.Map[QName, String] with nice overloading and some implicit magic designed for use containing element attributes in Elem. The actual stored keys are of type QName. This is how (optional) namespace information for attributes is stored in Anti-XML trees. However, there are some syntactic tricks which allow you to ignore the QName boiler-plate when you don't actually need namespace support. For example:

val attrs = Attributes("foo" -> "bar", "baz" -> "bin")
attrs("foo")                  // => "bar"
attrs(QName(None, "foo"))     // => "bar"

val attrs2 = attrs + ("even" -> "more")                       // => Attributes(...)
val attrs3 = attrs + (QName(Some("pre"), "even" -> "less")    // => Attributes(...)

With very, very few exceptions, String and QName are interchangable. Of course, this is being done with implicit conversions. However, you don't need to worry about the conversion String => QName poluting the implicit dispatch space! The conversion is defined on the companion object for QName, meaning that the compiler will only select it when the result of an expression is explicitly of type QName. It will not automatically inject the conversion to satisfy method dispatch on String. For example:

val str = "fubar"

val qn: QName = str      // works!
str.ns                   // won't compile!

In this example, it is important to note that ns is a method on QName. Thus, if the implicit conversion were pimp-enabling, the compiler would have accepted the last line of the example. However, as you can see, the implicit dispatch space has not been cluttered while the convenience of String rather than QName has been preserved.

One implicit space-cluttering that couldn't be avoided is the conversion defined as (String, String) => (QName, String). This is required to enable the nice String syntax on things like the + method and the companion object apply factory. Unfortunately, this conversion had to be defined in the antixml companion object. Fortunately, it is a conversion within the same type (simply different parameters passed to Tuple2). Thus, it shouldn't cause any scoping problems.

Source
Attributes.scala
See also

QName

Linear Supertypes
Map[QName, String], MapLike[QName, String, Attributes], Map[QName, String], MapLike[QName, String, Attributes], Subtractable[QName, Attributes], PartialFunction[QName, String], (QName) ⇒ String, GenMap[QName, String], GenMapLike[QName, String, Attributes], Iterable[(QName, String)], Iterable[(QName, String)], IterableLike[(QName, String), Attributes], Equals, GenIterable[(QName, String)], GenIterableLike[(QName, String), Attributes], Traversable[(QName, String)], Immutable, Traversable[(QName, String)], GenTraversable[(QName, String)], GenericTraversableTemplate[(QName, String), Iterable], TraversableLike[(QName, String), Attributes], GenTraversableLike[(QName, String), Attributes], Parallelizable[(QName, String), ParMap[QName, String]], TraversableOnce[(QName, String)], GenTraversableOnce[(QName, String)], FilterMonadic[(QName, String), Attributes], HasNewBuilder[(QName, String), Attributes], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Attributes
  2. Map
  3. MapLike
  4. Map
  5. MapLike
  6. Subtractable
  7. PartialFunction
  8. Function1
  9. GenMap
  10. GenMapLike
  11. Iterable
  12. Iterable
  13. IterableLike
  14. Equals
  15. GenIterable
  16. GenIterableLike
  17. Traversable
  18. Immutable
  19. Traversable
  20. GenTraversable
  21. GenericTraversableTemplate
  22. TraversableLike
  23. GenTraversableLike
  24. Parallelizable
  25. TraversableOnce
  26. GenTraversableOnce
  27. FilterMonadic
  28. HasNewBuilder
  29. AnyRef
  30. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Attributes (delegate: Map[QName, String])

Type Members

  1. type Self = Attributes

    Attributes
    protected
    Definition Classes
    TraversableLike

Value Members

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def + (kv: (QName, String)): Attributes

    [use case] Special overload of the + method to return Attributes rather than Map[QName, String].

    [use case]

    Special overload of the + method to return Attributes rather than Map[QName, String]. Unfortunately, the + method is one of those places where the magic of the 2.8 collections library really falls flat. The good news is that Scala's overload resolution will select this version of the + method for all where the second tuple value is of type String (this precedence is ensured by the DummyImplicit parameter). Implicit conversions can be applied to the parameter. Thus, it is possible to invoke + on Attributes passing a value of type (String, String). That value will be implicitly converted to (QName, String) and this version of + will be invoked.

    Attributes
    abstract
  5. def + (kv: (QName, String))(implicit d: DummyImplicit): Attributes

    Special overload of the + method to return Attributes rather than Map[QName, String].

    Special overload of the + method to return Attributes rather than Map[QName, String]. Unfortunately, the + method is one of those places where the magic of the 2.8 collections library really falls flat. The good news is that Scala's overload resolution will select this version of the + method for all where the second tuple value is of type String (this precedence is ensured by the DummyImplicit parameter). Implicit conversions can be applied to the parameter. Thus, it is possible to invoke + on Attributes passing a value of type (String, String). That value will be implicitly converted to (QName, String) and this version of + will be invoked.

    In short, the only time the "other" overload of + is dispatched is when you attempt to add a key/value pair where the value is not of type String, or if you ascribe the super-type of Map[QName, String] to something of type Attributes. Neither of these are common scenarios, so this implicit overload trick should be sufficient to practically support the illusion of QName / String interchangability.

  6. def + [B >: String] (kv: (QName, B)): Map[QName, B]

    Definition Classes
    Attributes → Map → MapLike → MapLike → GenMapLike
  7. def + [B1 >: String] (elem1: (QName, B1), elem2: (QName, B1), elems: (QName, B1)*): Map[QName, B1]

    Definition Classes
    MapLike → MapLike
  8. def ++ [B1 >: String] (xs: TraversableOnce[(QName, B1)]): Map[QName, B1]

    Definition Classes
    MapLike → MapLike
    Annotations
    @bridge()
  9. def ++ [B1 >: String] (xs: GenTraversableOnce[(QName, B1)]): Map[QName, B1]

    Definition Classes
    MapLike → MapLike
  10. def ++ [B >: (QName, String), That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike
    Annotations
    @bridge()
  11. def ++ [B >: (QName, String), That] (that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  12. def ++: [B >: (QName, String), That] (that: Traversable[B])(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike
  13. def ++: [B >: (QName, String), That] (that: TraversableOnce[B])(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike
  14. def - (key: QName): Attributes

    Definition Classes
    Attributes → MapLike → Subtractable → GenMapLike
  15. def - (elem1: QName, elem2: QName, elems: QName*): Attributes

    Definition Classes
    Subtractable
  16. def -- (xs: TraversableOnce[QName]): Attributes

    Definition Classes
    Subtractable
    Annotations
    @bridge()
  17. def -- (xs: GenTraversableOnce[QName]): Attributes

    Definition Classes
    Subtractable
  18. def /: [B] (z: B)(op: (B, (QName, String)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  19. def /:\ [A1 >: (QName, String)] (z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    GenTraversableOnce
  20. def :\ [B] (z: B)(op: ((QName, String), B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def == (arg0: AnyRef): Boolean

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

    Attributes
    final
    Definition Classes
    Any
  23. def addString (b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Definition Classes
    MapLike → TraversableOnce
  24. def addString (b: StringBuilder): StringBuilder

    Definition Classes
    TraversableOnce
  25. def addString (b: StringBuilder, sep: String): StringBuilder

    Definition Classes
    TraversableOnce
  26. def aggregate [B] (z: B)(seqop: (B, (QName, String)) ⇒ B, combop: (B, B) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  27. def andThen [C] (k: (String) ⇒ C): PartialFunction[QName, C]

    Definition Classes
    PartialFunction → Function1
  28. def apply (key: QName): String

    Definition Classes
    MapLike → GenMapLike → Function1
  29. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  30. def canEqual (that: Any): Boolean

    Definition Classes
    IterableLike → Equals
  31. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def collect [B, That] (pf: PartialFunction[(QName, String), B])(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  33. def collectFirst [B] (pf: PartialFunction[(QName, String), B]): Option[B]

    Definition Classes
    TraversableOnce
  34. def companion : GenericCompanion[Iterable]

    Definition Classes
    Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
  35. def compose [A] (g: (A) ⇒ QName): (A) ⇒ String

    Definition Classes
    Function1
  36. def contains (key: QName): Boolean

    Definition Classes
    MapLike
  37. def copyToArray [B >: (QName, String)] (xs: Array[B], start: Int, len: Int): Unit

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  38. def copyToArray [B >: (QName, String)] (xs: Array[B]): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  39. def copyToArray [B >: (QName, String)] (xs: Array[B], start: Int): Unit

    Definition Classes
    TraversableOnce → GenTraversableOnce
  40. def copyToBuffer [B >: (QName, String)] (dest: Buffer[B]): Unit

    Definition Classes
    TraversableOnce
  41. def count (p: ((QName, String)) ⇒ Boolean): Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  42. def default (key: QName): String

    Definition Classes
    MapLike → GenMapLike
  43. def drop (n: Int): Attributes

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  44. def dropRight (n: Int): Attributes

    Definition Classes
    IterableLike
  45. def dropWhile (p: ((QName, String)) ⇒ Boolean): Attributes

    Definition Classes
    TraversableLike → GenTraversableLike
  46. def empty : Attributes

    Definition Classes
    Attributes → Map → Map → MapLike
  47. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  48. def equals (that: Any): Boolean

    Definition Classes
    GenMapLike → Equals → AnyRef → Any
  49. def exists (p: ((QName, String)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  50. def filter (p: ((QName, String)) ⇒ Boolean): Attributes

    Definition Classes
    TraversableLike → GenTraversableLike
  51. def filterKeys (p: (QName) ⇒ Boolean): Map[QName, String]

    Definition Classes
    MapLike → MapLike
  52. def filterNot (p: ((QName, String)) ⇒ Boolean): Attributes

    Definition Classes
    MapLike → TraversableLike → GenTraversableLike
  53. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  54. def find (p: ((QName, String)) ⇒ Boolean): Option[(QName, String)]

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  55. def flatMap [B, That] (f: ((QName, String)) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  56. def flatten [B] (implicit asTraversable: ((QName, String)) ⇒ TraversableOnce[B]): Traversable[B]

    Definition Classes
    Traversable → GenericTraversableTemplate
    Annotations
    @bridge()
  57. def fold [A1 >: (QName, String)] (z: A1)(op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def foldLeft [B] (z: B)(op: (B, (QName, String)) ⇒ B): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def foldRight [B] (z: B)(op: ((QName, String), B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  60. def forall (p: ((QName, String)) ⇒ Boolean): Boolean

    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  61. def foreach [U] (f: ((QName, String)) ⇒ U): Unit

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  62. def genericBuilder [B] : Builder[B, Iterable[B]]

    Definition Classes
    GenericTraversableTemplate
  63. def get (key: QName): Option[String]

    Definition Classes
    Attributes → MapLike → GenMapLike
  64. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  65. def getOrElse [B1 >: String] (key: QName, default: ⇒ B1): B1

    Definition Classes
    MapLike
  66. def groupBy [K] (f: ((QName, String)) ⇒ K): Map[K, Attributes]

    Definition Classes
    TraversableLike → GenTraversableLike
  67. def grouped (size: Int): Iterator[Attributes]

    Definition Classes
    IterableLike
  68. def hasDefiniteSize : Boolean

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  69. def hashCode (): Int

    Definition Classes
    GenMapLike → AnyRef → Any
  70. def head : (QName, String)

    Definition Classes
    IterableLike → GenIterableLike → TraversableLike → GenTraversableLike
  71. def headOption : Option[(QName, String)]

    Definition Classes
    TraversableLike
  72. def init : Attributes

    Definition Classes
    TraversableLike
  73. def inits : Iterator[Attributes]

    Definition Classes
    TraversableLike
  74. def isDefinedAt (key: QName): Boolean

    Definition Classes
    MapLike → PartialFunction
  75. def isEmpty : Boolean

    Definition Classes
    MapLike → IterableLike → GenIterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  76. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  77. def isTraversableAgain : Boolean

    Attributes
    final
    Definition Classes
    GenTraversableLike → GenTraversableOnce
  78. def iterator : Iterator[(QName, String)]

    Definition Classes
    Attributes → MapLike → IterableLike → GenIterableLike
  79. def keySet : Set[QName]

    Definition Classes
    MapLike → MapLike
  80. def keys : Iterable[QName]

    Definition Classes
    MapLike
    Annotations
    @migration
    Migration

  81. def keysIterator : Iterator[QName]

    Definition Classes
    MapLike
  82. def last : (QName, String)

    Definition Classes
    TraversableLike
  83. def lastOption : Option[(QName, String)]

    Definition Classes
    TraversableLike
  84. def lift : (QName) ⇒ Option[String]

    Definition Classes
    PartialFunction
  85. def map [B, That] (f: ((QName, String)) ⇒ B)(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  86. def mapValues [C] (f: (String) ⇒ C): Map[QName, C]

    Definition Classes
    MapLike → MapLike
  87. def max [B >: (QName, String)] (implicit cmp: Ordering[B]): (QName, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def maxBy [B] (f: ((QName, String)) ⇒ B)(implicit cmp: Ordering[B]): (QName, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def min [B >: (QName, String)] (implicit cmp: Ordering[B]): (QName, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def minBy [B] (f: ((QName, String)) ⇒ B)(implicit cmp: Ordering[B]): (QName, String)

    Definition Classes
    TraversableOnce → GenTraversableOnce
  91. def mkString : String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def mkString (sep: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def mkString (start: String, sep: String, end: String): String

    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  95. def newBuilder : Builder[(QName, String), Attributes]

    Attributes
    protected[this]
    Definition Classes
    MapLike → TraversableLike → HasNewBuilder
  96. def nonEmpty : Boolean

    Definition Classes
    TraversableOnce → GenTraversableOnce
  97. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  98. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  99. def orElse [A1 <: QName, B1 >: String] (that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Definition Classes
    PartialFunction
  100. def par : ParMap[QName, String]

    Definition Classes
    Parallelizable
  101. def parCombiner : Combiner[(QName, String), ParMap[QName, String]]

    Attributes
    protected[this]
    Definition Classes
    MapLike → MapLike → TraversableLike → Parallelizable
  102. def partition (p: ((QName, String)) ⇒ Boolean): (Attributes, Attributes)

    Definition Classes
    TraversableLike → GenTraversableLike
  103. def product [B >: (QName, String)] (implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def reduce [A1 >: (QName, String)] (op: (A1, A1) ⇒ A1): A1

    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def reduceLeft [B >: (QName, String)] (op: (B, (QName, String)) ⇒ B): B

    Definition Classes
    TraversableOnce
  106. def reduceLeftOption [B >: (QName, String)] (op: (B, (QName, String)) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def reduceOption [A1 >: (QName, String)] (op: (A1, A1) ⇒ A1): Option[A1]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  108. def reduceRight [B >: (QName, String)] (op: ((QName, String), B) ⇒ B): B

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  109. def reduceRightOption [B >: (QName, String)] (op: ((QName, String), B) ⇒ B): Option[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def repr : Attributes

    Definition Classes
    TraversableLike → GenTraversableLike
  111. def reversed : List[(QName, String)]

    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  112. def sameElements [B >: (QName, String)] (that: Iterable[B]): Boolean

    Definition Classes
    IterableLike
    Annotations
    @bridge()
  113. def sameElements [B >: (QName, String)] (that: GenIterable[B]): Boolean

    Definition Classes
    IterableLike → GenIterableLike
  114. def scan [B >: (QName, String), That] (z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  115. def scanLeft [B, That] (z: B)(op: (B, (QName, String)) ⇒ B)(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
  116. def scanRight [B, That] (z: B)(op: ((QName, String), B) ⇒ B)(implicit bf: CanBuildFrom[Attributes, B, That]): That

    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

  117. def seq : Map[QName, String]

    Definition Classes
    Map → Map → GenMap → GenMapLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  118. def size : Int

    Definition Classes
    TraversableOnce → GenTraversableOnce
  119. def slice (from: Int, until: Int): Attributes

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  120. def sliding [B >: (QName, String)] (size: Int, step: Int): Iterator[Attributes]

    Definition Classes
    IterableLike
  121. def sliding [B >: (QName, String)] (size: Int): Iterator[Attributes]

    Definition Classes
    IterableLike
  122. def span (p: ((QName, String)) ⇒ Boolean): (Attributes, Attributes)

    Definition Classes
    TraversableLike → GenTraversableLike
  123. def splitAt (n: Int): (Attributes, Attributes)

    Definition Classes
    TraversableLike → GenTraversableLike
  124. def stringPrefix : String

    Definition Classes
    MapLike → TraversableLike → GenTraversableLike
  125. def sum [B >: (QName, String)] (implicit num: Numeric[B]): B

    Definition Classes
    TraversableOnce → GenTraversableOnce
  126. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  127. def tail : Attributes

    Definition Classes
    TraversableLike → GenTraversableLike
  128. def tails : Iterator[Attributes]

    Definition Classes
    TraversableLike
  129. def take (n: Int): Attributes

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  130. def takeRight (n: Int): Attributes

    Definition Classes
    IterableLike
  131. def takeWhile (p: ((QName, String)) ⇒ Boolean): Attributes

    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  132. def thisCollection : Iterable[(QName, String)]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  133. def toArray [B >: (QName, String)] (implicit arg0: ClassManifest[B]): Array[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  134. def toBuffer [C >: (QName, String)] : Buffer[C]

    Definition Classes
    MapLike → TraversableOnce → GenTraversableOnce
  135. def toCollection (repr: Attributes): Iterable[(QName, String)]

    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  136. def toIndexedSeq [B >: (QName, String)] : IndexedSeq[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  137. def toIterable : Iterable[(QName, String)]

    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  138. def toIterator : Iterator[(QName, String)]

    Definition Classes
    TraversableLike → GenTraversableOnce
  139. def toList : List[(QName, String)]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  140. def toMap [T, U] (implicit ev: <:<[(QName, String), (T, U)]): Map[T, U]

    Definition Classes
    Map → TraversableOnce → GenTraversableOnce
  141. def toSeq : Seq[(QName, String)]

    Definition Classes
    MapLike → TraversableOnce → GenTraversableOnce
  142. def toSet [B >: (QName, String)] : Set[B]

    Definition Classes
    TraversableOnce → GenTraversableOnce
  143. def toStream : Stream[(QName, String)]

    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  144. def toString (): String

    Definition Classes
    MapLike → TraversableLike → Function1 → AnyRef → Any
  145. def toTraversable : Traversable[(QName, String)]

    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  146. def transform [C, That] (f: (QName, String) ⇒ C)(implicit bf: CanBuildFrom[Attributes, (QName, C), That]): That

    Definition Classes
    MapLike
  147. def transpose [B] (implicit asTraversable: ((QName, String)) ⇒ TraversableOnce[B]): Traversable[Traversable[B]]

    Definition Classes
    Traversable → GenericTraversableTemplate
    Annotations
    @bridge()
  148. def unzip [A1, A2] (implicit asPair: ((QName, String)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Definition Classes
    GenericTraversableTemplate
  149. def unzip3 [A1, A2, A3] (implicit asTriple: ((QName, String)) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Definition Classes
    GenericTraversableTemplate
  150. def updated [B1 >: String] (key: QName, value: B1): Map[QName, B1]

    Definition Classes
    MapLike → MapLike
  151. def values : Iterable[String]

    Definition Classes
    MapLike
    Annotations
    @migration
    Migration

  152. def valuesIterator : Iterator[String]

    Definition Classes
    MapLike
  153. def view (from: Int, until: Int): IterableView[(QName, String), Attributes]

    Definition Classes
    IterableLike → TraversableLike
  154. def view : IterableView[(QName, String), Attributes]

    Definition Classes
    IterableLike → TraversableLike
  155. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  158. def withDefault [B1 >: String] (d: (QName) ⇒ B1): Map[QName, B1]

    Definition Classes
    Map
  159. def withDefaultValue [B1 >: String] (d: B1): Map[QName, B1]

    Definition Classes
    Map
  160. def withFilter (p: ((QName, String)) ⇒ Boolean): FilterMonadic[(QName, String), Attributes]

    Definition Classes
    TraversableLike → FilterMonadic
  161. def zip [A1 >: (QName, String), B, That] (that: Iterable[B])(implicit bf: CanBuildFrom[Attributes, (A1, B), That]): That

    Definition Classes
    IterableLike
    Annotations
    @bridge()
  162. def zip [A1 >: (QName, String), B, That] (that: GenIterable[B])(implicit bf: CanBuildFrom[Attributes, (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  163. def zipAll [B, A1 >: (QName, String), That] (that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Attributes, (A1, B), That]): That

    Definition Classes
    IterableLike
    Annotations
    @bridge()
  164. def zipAll [B, A1 >: (QName, String), That] (that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Attributes, (A1, B), That]): That

    Definition Classes
    IterableLike → GenIterableLike
  165. def zipWithIndex [A1 >: (QName, String), That] (implicit bf: CanBuildFrom[Attributes, (A1, Int), That]): That

    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def elements : Iterator[(QName, String)]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use iterator' instead

  2. def first : (QName, String)

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use head' instead

  3. def firstOption : Option[(QName, String)]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use headOption' instead

  4. def mapElements [C] (f: (String) ⇒ C): Map[QName, C]

    Definition Classes
    MapLike
    Annotations
    @deprecated
    Deprecated

    use mapValues' instead

  5. def projection : IterableView[(QName, String), Attributes]

    Definition Classes
    IterableLike
    Annotations
    @deprecated
    Deprecated

    use view' instead

Inherited from Map[QName, String]

Inherited from MapLike[QName, String, Attributes]

Inherited from Map[QName, String]

Inherited from MapLike[QName, String, Attributes]

Inherited from Subtractable[QName, Attributes]

Inherited from PartialFunction[QName, String]

Inherited from (QName) ⇒ String

Inherited from GenMap[QName, String]

Inherited from GenMapLike[QName, String, Attributes]

Inherited from Iterable[(QName, String)]

Inherited from Iterable[(QName, String)]

Inherited from IterableLike[(QName, String), Attributes]

Inherited from Equals

Inherited from GenIterable[(QName, String)]

Inherited from GenIterableLike[(QName, String), Attributes]

Inherited from Traversable[(QName, String)]

Inherited from Immutable

Inherited from Traversable[(QName, String)]

Inherited from GenTraversable[(QName, String)]

Inherited from GenericTraversableTemplate[(QName, String), Iterable]

Inherited from TraversableLike[(QName, String), Attributes]

Inherited from GenTraversableLike[(QName, String), Attributes]

Inherited from Parallelizable[(QName, String), ParMap[QName, String]]

Inherited from TraversableOnce[(QName, String)]

Inherited from GenTraversableOnce[(QName, String)]

Inherited from FilterMonadic[(QName, String), Attributes]

Inherited from HasNewBuilder[(QName, String), Attributes]

Inherited from AnyRef

Inherited from Any