in scala/xml
class AttributeSeq

abstract class AttributeSeq()
extends Object
with ScalaObject
with Seq[Attribute]

Sorted linear list of XML attributes. An attribute seq does *not* contain namespace defining attributes like xmlns or xmlns:pref
Author:
Burak Emir

Method Summary
final def %(attrs: Attribute*): AttributeSeq
     Return a new AttributeSeq with updated or added attributes
final def -(attrs: Attribute*): AttributeSeq
     Return a new AttributeSeq with removed attributes Only namespace and label are regarded
final def apply(i: Int): Attribute
final def elements: Iterator[Attribute]
     Creates a new iterator over all elements contained in this object.
override def equals(x: Any): Boolean
override def hashCode(): Int
final def length: Int
     Returns the length of the sequence.
  def lookup(ns: String, key: String): Option[Attribute]
final def map(f: (Attribute) => Attribute): AttributeSeq
abstract def sortedSeq: TreeSet[Attribute]
  def toMap: Map[Tuple2[String,String],Attribute]

Methods inherited from java/lang/Object-class
clone, eq, finalize, getClass, notify, notifyAll, synchronized, wait, wait, wait

Methods inherited from scala/Any-class
!=, ==, asInstanceOf, isInstanceOf, match

Methods inherited from scala/Iterable-class
/:, :\, exists, find, foldLeft, foldRight, forall, foreach, sameElements

Methods inherited from scala/ScalaObject-class
getType

Methods inherited from scala/Seq-class
copyToArray, drop, indexOf, isDefinedAt, lastIndexOf, stringPrefix, subseq, take, toList, toString

Method Detail

sortedSeq

  abstract def sortedSeq: TreeSet[Attribute]

equals

  override def equals(x: Any): Boolean

length

  final def length: Int
Returns the length of the sequence.
Returns:
the sequence length.

elements

  final def elements: Iterator[Attribute]
Creates a new iterator over all elements contained in this object.
Returns:
the new iterator

apply

  final def apply(i: Int): Attribute

lookup

  def lookup(ns: String, key: String): Option[Attribute]

-

  final def -(attrs: Attribute*): AttributeSeq
Return a new AttributeSeq with removed attributes Only namespace and label are regarded
Parameters:
attrs - the attributes to be removed
Returns:
a new AttributeSeq without attributes from attrs

%

  final def %(attrs: Attribute*): AttributeSeq
Return a new AttributeSeq with updated or added attributes
Parameters:
attrs -
Returns:
a new symbol with updated attributes

map

  final def map(f: (Attribute) => Attribute): AttributeSeq

hashCode

  override def hashCode(): Int

toMap

  def toMap: Map[Tuple2[String,String],Attribute]