Nodex

trait Nodex

Extension methods for NodeSeqs and Nodes

Companion
object
class Object
trait Matchable
class Any
object Nodex

Givens

Givens

given given_Conversion_Any_Any_UnprefixedAttribute: Conversion[(Any, Any), UnprefixedAttribute]
Returns

an unprefixed attribute from pair

given given_Monoid_NodeSeq: Monoid[NodeSeq]

Extensions

Extensions

extension (n: Node)
def isSpaceNode: Boolean
Returns

true if the Node represents some empty text (containing spaces or newlines)

def matchNode(other: Node, attributes: List[String], attributeValues: Map[String, String], exactMatch: Boolean, textTest: String => Boolean): Boolean

This class adds more methods to the Node class

This class adds more methods to the Node class

extension (ns: Seq[NodeSeq])
def reduceNodes: NodeSeq
extension [T](ns: Seq[T])
def reduceNodesWith(f: T => NodeSeq): NodeSeq

reduce a sequence of T's with a function transforming T's to NodeSeq

reduce a sequence of T's with a function transforming T's to NodeSeq

extension (ns: NodeSeq)
def ==/(n: NodeSeq): Boolean
def filterNodes(condition: Node => Boolean, recurse: Node => Boolean): NodeSeq
def isEqualIgnoringSpace(n: NodeSeq): Boolean
def isEqualIgnoringSpaceOrdered(n: NodeSeq): Boolean