in scala/xml
class MetaData

abstract class MetaData()
extends Iterable[MetaData]
with ScalaObject
Implementing classes or objects:
object Null
class UnprefixedAttribute(key: String, value: String, next: MetaData)
class PrefixedAttribute(pre: String, key: String, value: String, next: MetaData)

Attribute information item, and linked list of attribute information items. These are triples consisting of prefix,key,value. To obtain the namespace, getNamespace must be called with the parent. If next is null, this is the last attribute in the MetaData list. either an UnprefixedAttribute or a PrefixedAttribute
Todo:
_vlue should be a normalized attribute value

Method Summary
  def append(m: MetaData): MetaData
     appends given MetaData items to this MetaData list
  def apply(s: String): String
  def apply(uri: String, scp: NamespaceBinding, k: String): String
  def containedIn1(m: MetaData): Boolean
abstract def copy(next: MetaData): MetaData
     returns a copy of this MetaData item with next field set to argument
  def elements: Iterator[MetaData]
     returns an iterator on attributes
override def equals(that: Any): Boolean
     deep equals method
abstract def equals1(that: MetaData): Boolean
     shallow equals method
  def filter(f: (MetaData) => Boolean): MetaData
     filters this sequence of meta data
abstract def getNamespace(owner: Node): String
     if owner is the element of this metadata item, returns namespace
abstract def getValue(key: String): String
     gets value of unqualified (unprefixed) attribute with given key
  def getValue(namespace: String, owner: Node, key: String): String
     gets value of qualified (prefixed) attribute with given key
abstract def getValue(namespace: String, scope: NamespaceBinding, key: String): String
     gets value of qualified (prefixed) attribute with given key
  def hasNext: Boolean
abstract override def hashCode(): Int
abstract def isPrefixed: Boolean
abstract def key: String
     returns key of this MetaData item
  def length: Int
  def length(i: Int): Int
  def map(f: (MetaData) => Text): List[Text]
     maps this sequence of meta data
abstract def next: MetaData
     returns Null or the next MetaData item
override def toString(): String
  def toString(sb: StringBuffer): Unit
  def toString1(): String
abstract def toString1(sb: StringBuffer): Unit
abstract def value: String
     returns key of this MetaData item
abstract def wellformed(scope: NamespaceBinding): Boolean

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

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

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

Methods inherited from scala/ScalaObject-class
getScalaType

Method Detail

append

  def append(m: MetaData): MetaData
appends given MetaData items to this MetaData list

apply

  def apply(s: String): String

apply

  def apply(uri: String, scp: NamespaceBinding, k: String): String

containedIn1

  def containedIn1(m: MetaData): Boolean

copy

  abstract def copy(next: MetaData): MetaData
returns a copy of this MetaData item with next field set to argument

getNamespace

  abstract def getNamespace(owner: Node): String
if owner is the element of this metadata item, returns namespace

hasNext

  def hasNext: Boolean

length

  def length: Int

length

  def length(i: Int): Int

isPrefixed

  abstract def isPrefixed: Boolean

equals

  override def equals(that: Any): Boolean
deep equals method

elements

  def elements: Iterator[MetaData]
returns an iterator on attributes

equals1

  abstract def equals1(that: MetaData): Boolean
shallow equals method

filter

  def filter(f: (MetaData) => Boolean): MetaData
filters this sequence of meta data

key

  abstract def key: String
returns key of this MetaData item

value

  abstract def value: String
returns key of this MetaData item

map

  def map(f: (MetaData) => Text): List[Text]
maps this sequence of meta data

next

  abstract def next: MetaData
returns Null or the next MetaData item

getValue

  abstract def getValue(key: String): String
gets value of unqualified (unprefixed) attribute with given key

getValue

  def getValue(namespace: String, owner: Node, key: String): String
gets value of qualified (prefixed) attribute with given key

getValue

  abstract def getValue(namespace: String, scope: NamespaceBinding, key: String): String
gets value of qualified (prefixed) attribute with given key

hashCode

  abstract override def hashCode(): Int

toString1

  def toString1(): String

toString1

  abstract def toString1(sb: StringBuffer): Unit

toString

  override def toString(): String

toString

  def toString(sb: StringBuffer): Unit

wellformed

  abstract def wellformed(scope: NamespaceBinding): Boolean