same as this(key, value.get, next), or no attribute if value is None
same as this(key, Text(value), next), or no attribute if value is null
Updates this MetaData with the MetaData given as argument.
MetaData with new and updated attributes
a new MetaData instance that contains old, new and updated attributes
Forwards the call to next (because caller looks for prefixed attribute).
Gets value of unqualified (unprefixed) attribute with given key, null if not found
convenience method, same as
apply(namespace, owner.scope, key).
namespace uri of key
the element owning this attribute list
the attribute key
Returns a Map containing the attributes stored as key/value pairs.
We insist we're only equal to other
which heads off a lot of inconsistency up front.
returns a copy of this unprefixed attribute with the given next field
filters this sequence of meta data
gets value of qualified (prefixed) attribute with given key.
namespace of key
a namespace scp (usually of the element owning this attribute list)
to be looked fore
value as Some[Seq[Node]] if key is found, None otherwise
same as get(uri, owner.scope, key)
Gets value of unqualified (unprefixed) attribute with given key, None if not found
value in Some(Seq[Node]) if key is found, None otherwise
if owner is the element of this metadata item, returns namespace
It's be nice to make these final, but there are probably people out there subclassing the XML types, especially when it comes to equals.
Returns an iterator on attributes
returns key of this MetaData item
returns Null or the next MetaData item
Returns a String containing "prefix:key" if the first key is prefixed, and "key" otherwise.
(Changed in version 2.9.0) The behavior of
scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.
Appends string representation of only this attribute to stringbuffer.
(Changed in version 2.9.0)
transpose throws an
IllegalArgumentException if collections are not uniformly sized.
returns value of this MetaData item