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
Self type

Members list

Type members

Classlikes

implicit class NodeOps(n: => Node)

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class NodeSeqOps(ns: => NodeSeq)

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class anyReducable[T](ns: Seq[T])

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

Supertypes
class Object
trait Matchable
class Any
implicit class extendNode(n: Node)

This class adds more methods to the Node class

This class adds more methods to the Node class

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class extendNodeSeq(ns: NodeSeq)

This class adds more methods to the NodeSeq class

This class adds more methods to the NodeSeq class

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class reducable(ns: Seq[Node])

Attributes

Supertypes
class Object
trait Matchable
class Any
implicit class reducableSeq(ns: Seq[NodeSeq])

Attributes

Supertypes
class Object
trait Matchable
class Any

Implicits

Implicits

final implicit def NodeOps(n: => Node): NodeOps
final implicit def NodeSeqOps(ns: => NodeSeq): NodeSeqOps

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

Attributes

final implicit def anyReducable[T](ns: Seq[T]): anyReducable[T]

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

final implicit def extendNode(n: Node): extendNode

This class adds more methods to the Node class

This class adds more methods to the Node class

Attributes

final implicit def extendNodeSeq(ns: NodeSeq): extendNodeSeq

This class adds more methods to the NodeSeq class

This class adds more methods to the NodeSeq class

Attributes

implicit def pairToUnprefixedAttribute(pair: (Any, Any)): UnprefixedAttribute

Attributes

Returns

an unprefixed attribute from pair

final implicit def reducable(ns: Seq[Node]): reducable
final implicit def reducableSeq(ns: Seq[NodeSeq]): reducableSeq