object Null extends MetaData with Product with Serializable
Essentially, every method in here is a dummy, returning Zero[T]. It provides a backstop for the unusual collection defined by MetaData, sort of a linked list of tails.
- Alphabetic
- By Inheritance
- Null
- Product
- MetaData
- Serializable
- Equality
- Equals
- AbstractIterable
- Iterable
- IterableFactoryDefaults
- IterableOps
- IterableOnceOps
- IterableOnce
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ++[B >: MetaData](suffix: collection.IterableOnce[B]): collection.Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def addString(b: collection.mutable.StringBuilder): collection.mutable.StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def addString(b: collection.mutable.StringBuilder, sep: String): collection.mutable.StringBuilder
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def addString(b: collection.mutable.StringBuilder, start: String, sep: String, end: String): collection.mutable.StringBuilder
- Definition Classes
- IterableOnceOps
- def append(m: MetaData, scope: NamespaceBinding = TopScope): MetaData
Updates this MetaData with the MetaData given as argument.
Updates this MetaData with the MetaData given as argument. All attributes that occur in updates are part of the resulting MetaData. If an attribute occurs in both this instance and updates, only the one in updates is part of the result (avoiding duplicates). For prefixed attributes, namespaces are resolved using the given scope, which defaults to TopScope.
- returns
a new MetaData instance that contains old, new and updated attributes
- def apply(key: String): collection.Seq[Node]
Gets value of unqualified (unprefixed) attribute with given key, null if not found
- def apply(namespace: String, scope: NamespaceBinding, key: String): Null
Gets value of prefixed attribute with given key and namespace, null if not found
- final def apply(namespace_uri: String, owner: Node, key: String): collection.Seq[Node]
convenience method, same as
apply(namespace, owner.scope, key)
.convenience method, same as
apply(namespace, owner.scope, key)
.- namespace_uri
namespace uri of key
- owner
the element owning this attribute list
- key
the attribute key
- Definition Classes
- MetaData
- def asAttrMap: Map[String, String]
Returns a Map containing the attributes stored as key/value pairs.
Returns a Map containing the attributes stored as key/value pairs.
- Definition Classes
- MetaData
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def basisForHashCode: collection.Seq[Any]
- def buildString(sb: StringBuilder): StringBuilder
- def canEqual(other: Any): Boolean
We insist we're only equal to other
xml.Equality
implementors, which heads off a lot of inconsistency up front. - def className: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def coll: Null.this.type
- Attributes
- protected
- Definition Classes
- Iterable → IterableOps
- def collect[B](pf: PartialFunction[MetaData, B]): collection.Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def collectFirst[B](pf: PartialFunction[MetaData, B]): Option[B]
- Definition Classes
- IterableOnceOps
- def concat[B >: MetaData](suffix: collection.IterableOnce[B]): collection.Iterable[B]
- Definition Classes
- IterableOps
- def copy(next: MetaData): MetaData
returns a copy of this MetaData item with next field set to argument.
- def copyToArray[B >: MetaData](xs: Array[B], start: Int, len: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: MetaData](xs: Array[B], start: Int): Int
- Definition Classes
- IterableOnceOps
- def copyToArray[B >: MetaData](xs: Array[B]): Int
- Definition Classes
- IterableOnceOps
- def corresponds[B](that: collection.IterableOnce[B])(p: (MetaData, B) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def count(p: (MetaData) => Boolean): Int
- Definition Classes
- IterableOnceOps
- def drop(n: Int): collection.Iterable[MetaData]
- Definition Classes
- IterableOps → IterableOnceOps
- def dropRight(n: Int): collection.Iterable[MetaData]
- Definition Classes
- IterableOps
- def dropWhile(p: (MetaData) => Boolean): collection.Iterable[MetaData]
- Definition Classes
- IterableOps → IterableOnceOps
- def empty: collection.Iterable[MetaData]
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Equality → Equals → AnyRef → Any
- def exists(p: (MetaData) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def filter(f: (MetaData) => Boolean): MetaData
filters this sequence of meta data
- def filterNot(pred: (MetaData) => Boolean): collection.Iterable[MetaData]
- Definition Classes
- IterableOps → IterableOnceOps
- def find(p: (MetaData) => Boolean): Option[MetaData]
- Definition Classes
- IterableOnceOps
- def flatMap[B](f: (MetaData) => collection.IterableOnce[B]): collection.Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def flatten[B](implicit asIterable: (MetaData) => collection.IterableOnce[B]): collection.Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def fold[A1 >: MetaData](z: A1)(op: (A1, A1) => A1): A1
- Definition Classes
- IterableOnceOps
- def foldLeft[B](z: B)(op: (B, MetaData) => B): B
- Definition Classes
- IterableOnceOps
- def foldRight[B](z: B)(op: (MetaData, B) => B): B
- Definition Classes
- IterableOnceOps
- def forall(p: (MetaData) => Boolean): Boolean
- Definition Classes
- IterableOnceOps
- def foreach[U](f: (MetaData) => U): Unit
- Definition Classes
- IterableOnceOps
- def fromSpecific(coll: collection.IterableOnce[MetaData]): collection.Iterable[MetaData]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- final def get(uri: String, scope: NamespaceBinding, key: String): Option[collection.Seq[Node]]
gets value of qualified (prefixed) attribute with given key.
gets value of qualified (prefixed) attribute with given key.
- uri
namespace of key
- scope
a namespace scp (usually of the element owning this attribute list)
- key
to be looked fore
- returns
value as Some[Seq[Node]] if key is found, None otherwise
- Definition Classes
- MetaData
- final def get(uri: String, owner: Node, key: String): Option[collection.Seq[Node]]
same as get(uri, owner.scope, key)
same as get(uri, owner.scope, key)
- Definition Classes
- MetaData
- final def get(key: String): Option[collection.Seq[Node]]
Gets value of unqualified (unprefixed) attribute with given key, None if not found
Gets value of unqualified (unprefixed) attribute with given key, None if not found
- returns
value in Some(Seq[Node]) if key is found, None otherwise
- Definition Classes
- MetaData
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getNamespace(owner: Node): Null
if owner is the element of this metadata item, returns namespace
- def groupBy[K](f: (MetaData) => K): Map[K, collection.Iterable[MetaData]]
- Definition Classes
- IterableOps
- def groupMap[K, B](key: (MetaData) => K)(f: (MetaData) => B): Map[K, collection.Iterable[B]]
- Definition Classes
- IterableOps
- def groupMapReduce[K, B](key: (MetaData) => K)(f: (MetaData) => B)(reduce: (B, B) => B): Map[K, B]
- Definition Classes
- IterableOps
- def grouped(size: Int): collection.Iterator[collection.Iterable[MetaData]]
- Definition Classes
- IterableOps
- def hasNext: Boolean
- def hashCode(): Int
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.
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. However WE at least can pretend they are final since clearly individual classes cannot be trusted to maintain a semblance of order.
- Definition Classes
- Equality → AnyRef → Any
- def head: MetaData
- Definition Classes
- IterableOps
- def headOption: Option[MetaData]
- Definition Classes
- IterableOps
- def init: collection.Iterable[MetaData]
- Definition Classes
- IterableOps
- def inits: collection.Iterator[collection.Iterable[MetaData]]
- Definition Classes
- IterableOps
- def isEmpty: Boolean
- Definition Classes
- IterableOnceOps
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrefixed: Boolean
- def isTraversableAgain: Boolean
- Definition Classes
- IterableOps → IterableOnceOps
- def iterableFactory: IterableFactory[collection.Iterable]
- Definition Classes
- Iterable → IterableOps
- def iterator: collection.Iterator[Nothing]
- Definition Classes
- Null → IterableOnce
- def key: Null
returns key of this MetaData item
- def knownSize: Int
- Definition Classes
- IterableOnce
- def last: MetaData
- Definition Classes
- IterableOps
- def lastOption: Option[MetaData]
- Definition Classes
- IterableOps
- def lazyZip[B](that: collection.Iterable[B]): LazyZip2[MetaData, B, Null.this.type]
- Definition Classes
- Iterable
- def length(i: Int): Int
- def length: Int
- def map[B](f: (MetaData) => B): collection.Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def max[B >: MetaData](implicit ord: math.Ordering[B]): MetaData
- Definition Classes
- IterableOnceOps
- def maxBy[B](f: (MetaData) => B)(implicit cmp: math.Ordering[B]): MetaData
- Definition Classes
- IterableOnceOps
- def maxByOption[B](f: (MetaData) => B)(implicit cmp: math.Ordering[B]): Option[MetaData]
- Definition Classes
- IterableOnceOps
- def maxOption[B >: MetaData](implicit ord: math.Ordering[B]): Option[MetaData]
- Definition Classes
- IterableOnceOps
- def min[B >: MetaData](implicit ord: math.Ordering[B]): MetaData
- Definition Classes
- IterableOnceOps
- def minBy[B](f: (MetaData) => B)(implicit cmp: math.Ordering[B]): MetaData
- Definition Classes
- IterableOnceOps
- def minByOption[B](f: (MetaData) => B)(implicit cmp: math.Ordering[B]): Option[MetaData]
- Definition Classes
- IterableOnceOps
- def minOption[B >: MetaData](implicit ord: math.Ordering[B]): Option[MetaData]
- Definition Classes
- IterableOnceOps
- final def mkString: String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(sep: String): String
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- final def mkString(start: String, sep: String, end: String): String
- Definition Classes
- IterableOnceOps
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newSpecificBuilder: Builder[MetaData, collection.Iterable[MetaData]]
- Attributes
- protected
- Definition Classes
- IterableFactoryDefaults → IterableOps
- def next: Null
returns Null or the next MetaData item
- def nonEmpty: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def partition(p: (MetaData) => Boolean): (collection.Iterable[MetaData], collection.Iterable[MetaData])
- Definition Classes
- IterableOps
- def partitionMap[A1, A2](f: (MetaData) => Either[A1, A2]): (collection.Iterable[A1], collection.Iterable[A2])
- Definition Classes
- IterableOps
- def prefixedKey: String
Returns a String containing "prefix:key" if the first key is prefixed, and "key" otherwise.
Returns a String containing "prefix:key" if the first key is prefixed, and "key" otherwise.
- Definition Classes
- MetaData
- def product[B >: MetaData](implicit num: math.Numeric[B]): B
- Definition Classes
- IterableOnceOps
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def reduce[B >: MetaData](op: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeft[B >: MetaData](op: (B, MetaData) => B): B
- Definition Classes
- IterableOnceOps
- def reduceLeftOption[B >: MetaData](op: (B, MetaData) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceOption[B >: MetaData](op: (B, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def reduceRight[B >: MetaData](op: (MetaData, B) => B): B
- Definition Classes
- IterableOnceOps
- def reduceRightOption[B >: MetaData](op: (MetaData, B) => B): Option[B]
- Definition Classes
- IterableOnceOps
- def remove(namespace: String, scope: NamespaceBinding, key: String): Null
- def remove(key: String): Null
- final def remove(namespace: String, owner: Node, key: String): MetaData
- Definition Classes
- MetaData
- def reversed: collection.Iterable[MetaData]
- Attributes
- protected
- Definition Classes
- IterableOnceOps
- def scan[B >: MetaData](z: B)(op: (B, B) => B): collection.Iterable[B]
- Definition Classes
- IterableOps
- def scanLeft[B](z: B)(op: (B, MetaData) => B): collection.Iterable[B]
- Definition Classes
- IterableOps → IterableOnceOps
- def scanRight[B](z: B)(op: (MetaData, B) => B): collection.Iterable[B]
- Definition Classes
- IterableOps
- def size: Int
- Definition Classes
- Null → IterableOnceOps
- def sizeCompare(that: collection.Iterable[_]): Int
- Definition Classes
- IterableOps
- def sizeCompare(otherSize: Int): Int
- Definition Classes
- IterableOps
- final def sizeIs: SizeCompareOps
- Definition Classes
- IterableOps
- Annotations
- @inline()
- def slice(from: Int, until: Int): collection.Iterable[MetaData]
- Definition Classes
- IterableOps → IterableOnceOps
- def sliding(size: Int, step: Int): collection.Iterator[collection.Iterable[MetaData]]
- Definition Classes
- IterableOps
- def sliding(size: Int): collection.Iterator[collection.Iterable[MetaData]]
- Definition Classes
- IterableOps
- def span(p: (MetaData) => Boolean): (collection.Iterable[MetaData], collection.Iterable[MetaData])
- Definition Classes
- IterableOps → IterableOnceOps
- def splitAt(n: Int): (collection.Iterable[MetaData], collection.Iterable[MetaData])
- Definition Classes
- IterableOps → IterableOnceOps
- def stepper[S <: Stepper[_]](implicit shape: StepperShape[MetaData, S]): S
- Definition Classes
- IterableOnce
- def strict_!=(other: Equality): Boolean
- Definition Classes
- Equality
- def strict_==(other: Equality): Boolean
- def stringPrefix: String
- Attributes
- protected[this]
- Definition Classes
- Iterable
- Annotations
- @deprecatedOverriding("Override className instead", "2.13.0")
- def sum[B >: MetaData](implicit num: math.Numeric[B]): B
- Definition Classes
- IterableOnceOps
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tail: collection.Iterable[MetaData]
- Definition Classes
- IterableOps
- def tails: collection.Iterator[collection.Iterable[MetaData]]
- Definition Classes
- IterableOps
- def take(n: Int): collection.Iterable[MetaData]
- Definition Classes
- IterableOps → IterableOnceOps
- def takeRight(n: Int): collection.Iterable[MetaData]
- Definition Classes
- IterableOps
- def takeWhile(p: (MetaData) => Boolean): collection.Iterable[MetaData]
- Definition Classes
- IterableOps → IterableOnceOps
- def tapEach[U](f: (MetaData) => U): collection.Iterable[MetaData]
- Definition Classes
- IterableOps → IterableOnceOps
- def to[C1](factory: Factory[MetaData, C1]): C1
- Definition Classes
- IterableOnceOps
- def toArray[B >: MetaData](implicit arg0: ClassTag[B]): Array[B]
- Definition Classes
- IterableOnceOps
- final def toBuffer[B >: MetaData]: Buffer[B]
- Definition Classes
- IterableOnceOps
- Annotations
- @inline()
- def toIndexedSeq: collection.immutable.IndexedSeq[MetaData]
- Definition Classes
- IterableOnceOps
- final def toIterable: Null.this.type
- Definition Classes
- Iterable → IterableOps
- def toList: collection.immutable.List[MetaData]
- Definition Classes
- IterableOnceOps
- def toMap[K, V](implicit ev: <:<[MetaData, (K, V)]): Map[K, V]
- Definition Classes
- IterableOnceOps
- def toSeq: collection.immutable.Seq[MetaData]
- Definition Classes
- IterableOnceOps
- def toSet[B >: MetaData]: Set[B]
- Definition Classes
- IterableOnceOps
- def toString(): String
- def toString1(): String
- def toString1(sb: StringBuilder): Unit
- def toVector: collection.immutable.Vector[MetaData]
- Definition Classes
- IterableOnceOps
- def transpose[B](implicit asIterable: (MetaData) => collection.Iterable[B]): collection.Iterable[collection.Iterable[B]]
- Definition Classes
- IterableOps
- def unzip[A1, A2](implicit asPair: (MetaData) => (A1, A2)): (collection.Iterable[A1], collection.Iterable[A2])
- Definition Classes
- IterableOps
- def unzip3[A1, A2, A3](implicit asTriple: (MetaData) => (A1, A2, A3)): (collection.Iterable[A1], collection.Iterable[A2], collection.Iterable[A3])
- Definition Classes
- IterableOps
- def value: Null
returns value of this MetaData item
- def view: View[MetaData]
- Definition Classes
- IterableOps
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def wellformed(scope: NamespaceBinding): Boolean
- def withFilter(p: (MetaData) => Boolean): WithFilter[MetaData, collection.Iterable]
- Definition Classes
- IterableOps
- final def xml_!=(other: Any): Boolean
- Definition Classes
- Equality
- final def xml_==(other: Any): Boolean
- Definition Classes
- Equality
- def zip[B](that: collection.IterableOnce[B]): collection.Iterable[(MetaData, B)]
- Definition Classes
- IterableOps
- def zipAll[A1 >: MetaData, B](that: collection.Iterable[B], thisElem: A1, thatElem: B): collection.Iterable[(A1, B)]
- Definition Classes
- IterableOps
- def zipWithIndex: collection.Iterable[(MetaData, Int)]
- Definition Classes
- IterableOps → IterableOnceOps
Deprecated Value Members
- def ++:[B >: MetaData](that: collection.IterableOnce[B]): collection.Iterable[B]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable
- final def /:[B](z: B)(op: (B, MetaData) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldLeft instead of /:
- final def :\[B](z: B)(op: (MetaData, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use foldRight instead of :\
- def aggregate[B](z: => B)(seqop: (B, MetaData) => B, combop: (B, B) => B): B
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0)
aggregate
is not relevant for sequential collections. UsefoldLeft(z)(seqop)
instead.
- def companion: IterableFactory[collection.Iterable]
- Definition Classes
- IterableOps
- Annotations
- @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
- Deprecated
(Since version 2.13.0) Use iterableFactory instead
- final def copyToBuffer[B >: MetaData](dest: Buffer[B]): Unit
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use
dest ++= coll
instead
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.
- def hasDefiniteSize: Boolean
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
- final def repr: collection.Iterable[MetaData]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside
- def seq: Null.this.type
- Definition Classes
- Iterable
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Iterable.seq always returns the iterable itself
- final def toIterator: collection.Iterator[MetaData]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .iterator instead of .toIterator
- final def toStream: collection.immutable.Stream[MetaData]
- Definition Classes
- IterableOnceOps
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.13.0) Use .to(LazyList) instead of .toStream
- final def toTraversable: collection.Traversable[MetaData]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use toIterable instead
- def view(from: Int, until: Int): View[MetaData]
- Definition Classes
- IterableOps
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)