eu.cdevreeze.yaidom

resolved

package resolved

This package contains element representations that can be compared for (some notion of "value") equality, unlike normal yaidom nodes. That notion of equality is simple to understand, but "naive". The user is of the API must take control over what is compared for equality.

See eu.cdevreeze.yaidom.resolved.Node for why this package is named resolved.

The most important difference with normal Elems is that qualified names do not occur, but only expanded (element and attribute) names. This reminds of James Clark notation for XML trees and expanded names, where qualified names are absent.

Moreover, the only nodes in this package are element and text nodes.

Do not do this:

import eu.cdevreeze.yaidom.resolved._

Better is the following:

import eu.cdevreeze.yaidom.resolved

val resolvedRootElm = resolved.Elem(rootElm)
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. resolved
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. final case class Elem(resolvedName: EName, resolvedAttributes: Map[EName, String], children: IndexedSeq[Node]) extends Node with UpdatableElemLike[Node, Elem] with HasText with Product with Serializable

    Element as abstract data type.

  2. sealed trait Node extends Immutable

    Immutable "resolved" Node.

  3. final case class Text(text: String) extends Node with Product with Serializable

Value Members

  1. object Elem extends Serializable

  2. object Node

  3. object Text extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped