package
resolved
Type Members
-
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
-
sealed
trait
Node extends Immutable
-
final
case class
Text(text: String) extends Node with Product with Serializable
Value Members
-
object
Elem extends Serializable
-
object
Node extends AnyRef
-
object
Text extends Serializable
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 Node for why this package is named
resolved
.The most important difference with normal
Elem
s 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: