Scala Library
|
|
scala/xml/Attribute.scala
]
trait
Attribute
extends
MetaDataValue Summary | |
abstract val
|
key
: java.lang.String
returns key of this MetaData item
|
abstract val
|
next
: MetaData
returns Null or the next MetaData item
|
abstract val
|
value
: Seq[Node]
returns value of this MetaData item
|
Method Summary | |
abstract def
|
apply
(namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : Seq[Node]
Gets value of prefixed attribute with given key and namespace, null if not found
|
abstract def
|
apply
(key : java.lang.String) : Seq[Node]
Gets value of unqualified (unprefixed) attribute with given key, null if not found
|
abstract def
|
copy
(next : MetaData) : Attribute
returns a copy of this MetaData item with next field set to argument.
|
abstract def
|
equals1
(m : MetaData) : Boolean
shallow equals method
|
abstract def
|
getNamespace
(owner : Node) : java.lang.String
if owner is the element of this metadata item, returns namespace
|
abstract def
|
isPrefixed : Boolean |
abstract def
|
remove (namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : MetaData |
abstract def
|
remove (key : java.lang.String) : MetaData |
abstract def
|
toString1 (sb : StringBuilder) : Unit |
abstract def
|
wellformed (scope : NamespaceBinding) : Boolean |
Methods inherited from MetaData | |
append, apply, containedIn1, hasNext, length, length, equals, iterator, size, filter, map, get, get, get, toString1, toString, buildString, remove |
Methods inherited from Iterable | |
companion |
Methods inherited from IterableLike | |
thisCollection, toCollection, elements, foreach, forall, exists, find, isEmpty, foldRight, reduceRight, toIterable, head, take, slice, takeWhile, takeRight, dropRight, copyToArray, zip, zipAll, zipWithIndex, sameElements, toStream, canEqual, view, view, first, firstOption, projection |
Methods inherited from GenericTraversableTemplate | |
newBuilder, genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableLike | |
repr, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filterNot, partialMap, remove, partition, groupBy, count, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, sum, product, min, max, headOption, tail, last, lastOption, init, drop, dropWhile, span, splitAt, copyToBuffer, copyToArray, toArray, toList, toSeq, toIndexedSeq, toSet, mkString, mkString, mkString, addString, addString, addString, stringPrefix, withFilter |
Methods inherited from AnyRef | |
getClass, hashCode, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
abstract
val
key : java.lang.String
abstract
val
next : MetaData
Method Details |
abstract
def
apply(key : java.lang.String) : Seq[Node]
key -
abstract
def
apply(namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : Seq[Node]
namespace_uri -
namespace uri of keyscp -
a namespace scp (usually of the element owning this attribute list)key -
to be looked forenext -
...abstract
def
remove(key : java.lang.String) : MetaData
key -
...abstract
def
remove(namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : MetaData
namespace -
...scope -
...key -
...abstract
def
isPrefixed : Boolean
abstract
def
getNamespace(owner : Node) : java.lang.String
abstract
def
wellformed(scope : NamespaceBinding) : Boolean
scope -
...true
iff ...abstract
def
toString1(sb : StringBuilder) : Unit
Scala Library
|
|