scala.xml
class UnprefixedAttribute

[source: `scala/xml/UnprefixedAttribute.scala`]

`` `class` UnprefixedAttribute(`val` key : java.lang.String, `val` value : Seq[Node], next1 : MetaData)
  `extends` MetaData

  Unprefixed attributes have the null namespace, and no prefix field

Author
  Burak Emir

Additional Constructor Summary
`def` | this (key : java.lang.String, value : java.lang.String, next : MetaData) : UnprefixedAttribute same as this(key, Utility.parseAttributeValue(value), next)

Value Summary
`val` | next : MetaData returns Null or the next MetaData item

Method Summary
`def` | apply (namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : Seq[Node] Forwards the call to next (because caller looks for prefixed attribute).
`def` | apply (key : java.lang.String) : Seq[Node] Gets value of unqualified (unprefixed) attribute with given key, null if not found
`def` | copy (next : MetaData) : UnprefixedAttribute returns a copy of this unprefixed attribute with the given next field
`def` | equals1 (m : MetaData) : Boolean shallow equals method
`final def` | getNamespace (owner : Node) : java.lang.String returns null
`override def` | hashCode : Int returns the hashcode.
`final def` | isPrefixed : Boolean returns false
`def` | remove (namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : MetaData
`def` | remove (key : java.lang.String) : MetaData
`def` | toString1 (sb : StringBuilder) : Unit appends string representation of only this attribute to stringbuffer.
`def` | wellformed (scope : NamespaceBinding) : Boolean

Methods inherited from MetaData
append, apply, containedIn1, hasNext, length, length, equals, elements, size, filter, map, get, get, get, toString1, toString, toString, remove

Methods inherited from Collection
toArray, stringPrefix

Methods inherited from Iterable
concat, ++, map, flatMap, partition, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toStream, mkString, mkString, mkString, addString, addString, copyToArray, isEmpty, projection, hasDefiniteSize

Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Additional Constructor Details

`` `def` this(key : java.lang.String, value : java.lang.String, next : MetaData) : UnprefixedAttribute

  same as this(key, Utility.parseAttributeValue(value), next)

Value Details

`` `val` next : MetaData

  returns Null or the next MetaData item

Overrides
  MetaData.next

Method Details

`` `def` copy(next : MetaData) : UnprefixedAttribute

  returns a copy of this unprefixed attribute with the given next field

Overrides
  MetaData.copy

`` `def` equals1(m : MetaData) : Boolean

  shallow equals method

Overrides
  MetaData.equals1

`final` `def` getNamespace(owner : Node) : java.lang.String

  returns null

Overrides
  MetaData.getNamespace

`` `def` apply(key : java.lang.String) : Seq[Node]

  Gets value of unqualified (unprefixed) attribute with given key, null if not found

Parameters
  `key -`
Returns
  value as Seq[Node] if key is found, null otherwise

Overrides
  MetaData.apply

`` `def` apply(namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : Seq[Node]

  Forwards the call to next (because caller looks for prefixed attribute).

Parameters
  `namespace -`
  `scope -`
  `key -`
Returns
  ..

Overrides
  MetaData.apply

`override` `def` hashCode : Int

  returns the hashcode.

Overrides
  MetaData.hashCode

`final` `def` isPrefixed : Boolean

  returns false

Overrides
  MetaData.isPrefixed

`` `def` toString1(sb : StringBuilder) : Unit

  appends string representation of only this attribute to stringbuffer.

Parameters
  `sb -` ..

Overrides
  MetaData.toString1

`` `def` wellformed(scope : NamespaceBinding) : Boolean

Parameters
  `scope -` ...
Returns
  `true` iff ...

Overrides
  MetaData.wellformed

`` `def` remove(key : java.lang.String) : MetaData

Parameters
  `key -` ...
Returns
  ...

Overrides
  MetaData.remove

`` `def` remove(namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : MetaData

Parameters
  `namespace -` ...
  `scope -` ...
  `key -` ...
Returns
  ...

Overrides
  MetaData.remove