Scala Library
|
|
scala/xml/UnprefixedAttribute.scala
]
class
UnprefixedAttribute(val
key : java.lang.String, val
value : Sequence[Node], next1 : MetaData)
extends
AttributeAdditional Constructor Summary | |
def
|
this
(key : java.lang.String, value : Option[Sequence[Node]], next : MetaData) : UnprefixedAttribute
same as this(key, value.get, next), or no attribute if value is None
|
def
|
this
(key : java.lang.String, value : java.lang.String, next : MetaData) : UnprefixedAttribute
same as this(key, Text(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) : Sequence[Node]
Forwards the call to next (because caller looks for prefixed attribute).
|
def
|
apply
(key : java.lang.String) : Sequence[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 (key : java.lang.String) : MetaData |
def
|
remove (namespace : java.lang.String, scope : NamespaceBinding, 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, iterator, size, filter, map, get, get, get, toString1, toString, buildString, remove |
Methods inherited from Iterable | |
companion |
Methods inherited from IterableTemplate | |
elements, foreach, isEmpty, foldRight, reduceRight, toIterable, head, takeRight, dropRight, sameElements, toStream, view, view, first, firstOption, toSeq, projection |
Methods inherited from TraversableClass | |
newBuilder, genericBuilder, unzip, flatten, transpose |
Methods inherited from TraversableTemplate | |
thisCollection, nonEmpty, hasDefiniteSize, ++, ++, map, flatMap, filterMap, filterNot, remove, partition, groupBy, forall, exists, count, find, foldLeft, /:, :\, reduceLeft, reduceLeftOption, reduceRightOption, headOption, tail, last, lastOption, init, take, drop, slice, takeWhile, dropWhile, span, splitAt, copyToBuffer, copyToArray, copyToArray, toArray, toList, toSequence, toSet, mkString, mkString, mkString, addString, addString, addString, stringPrefix |
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
def
this(key : java.lang.String, value : Option[Sequence[Node]], next : MetaData) : UnprefixedAttribute
Value Details |
Method Details |
def
copy(next : MetaData) : UnprefixedAttribute
final
def
getNamespace(owner : Node) : java.lang.String
def
apply(key : java.lang.String) : Sequence[Node]
key -
def
apply(namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : Sequence[Node]
namespace -
scope -
key -
override
def
hashCode : Int
final
def
isPrefixed : Boolean
def
toString1(sb : StringBuilder) : Unit
sb -
..
def
wellformed(scope : NamespaceBinding) : Boolean
scope -
...true
iff ...
def
remove(key : java.lang.String) : MetaData
key -
...
def
remove(namespace : java.lang.String, scope : NamespaceBinding, key : java.lang.String) : MetaData
namespace -
...scope -
...key -
...
Scala Library
|
|