Nodex

org.specs2.xml.Nodex
See theNodex companion object
trait Nodex

Extension methods for NodeSeqs and Nodes

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Nodex.type

Members list

Type members

Classlikes

object given_Conversion_Any_Any_UnprefixedAttribute extends Conversion[(Any, Any), UnprefixedAttribute]

Attributes

Returns

an unprefixed attribute from pair

Supertypes
class Conversion[(Any, Any), UnprefixedAttribute]
trait ((Any, Any)) => UnprefixedAttribute
class Object
trait Matchable
class Any
Self type
object given_Monoid_NodeSeq extends Monoid[NodeSeq]

Attributes

Supertypes
trait Monoid[NodeSeq]
trait Semigroup[NodeSeq]
class Object
trait Matchable
class Any
Self type

Givens

Givens

Attributes

Returns

an unprefixed attribute from pair

Extensions

Extensions

extension (n: Node)(n: Node)
def isSpaceNode: Boolean

Attributes

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

Attributes

extension (ns: NodeSeq)(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
extension (ns: Seq[NodeSeq])(ns: Seq[NodeSeq])
def reduceNodes: NodeSeq
extension [T](ns: Seq[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

Attributes