in scala/xml
class PrefixedAttribute

class PrefixedAttribute(pre: String, key: String, value: String, next: MetaData)
extends MetaData
with ScalaObject

prefixed attributes always have a non-null namespace

Field Summary
  val key: String
     returns key of this MetaData item
  val next: MetaData
     returns Null or the next MetaData item
  val pre: String
  val value: String
     returns key of this MetaData item

Method Summary
  def copy(next: MetaData): PrefixedAttribute
     Returns a copy of this unprefixed attribute with the given next field.
  def equals1(m: MetaData): Boolean
     shallow equals method
  def getNamespace(owner: Node): String
     if owner is the element of this metadata item, returns namespace
  def getValue(key: String): String
     forwards the call to next
  def getValue(namespace: String, scope: NamespaceBinding, key: String): String
     gets attribute value of qualified (prefixed) attribute with given key
override def hashCode(): Int
final def isPrefixed: Boolean
     returns true
  def toString1(sb: StringBuffer): Unit
  def toString1(): String
  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

Methods inherited from scala/xml/MetaData-class
append, apply, apply, containedIn1, elements, equals, filter, hasNext, length, length, map, toString, toString, toString1

Field Detail

pre

  val pre: String

key

  val key: String
returns key of this MetaData item

value

  val value: String
returns key of this MetaData item

next

  val next: MetaData
returns Null or the next MetaData item
Method Detail

copy

  def copy(next: MetaData): PrefixedAttribute
Returns a copy of this unprefixed attribute with the given next field.

equals1

  def equals1(m: MetaData): Boolean
shallow equals method

getNamespace

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

getValue

  def getValue(key: String): String
forwards the call to next

getValue

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

isPrefixed

  final def isPrefixed: Boolean
returns true

hashCode

  override def hashCode(): Int

toString1

  def toString1(sb: StringBuffer): Unit

toString1

  def toString1(): String

wellformed

  def wellformed(scope: NamespaceBinding): Boolean